update patterndump command to work with new command event (#2621)
* update patterndump command to work with new command event * update min required forge version * update changelog
This commit is contained in:
@@ -1,4 +1,6 @@
|
|||||||
# Refined Storage Changelog
|
# Refined Storage Changelog
|
||||||
|
### 1.9.2
|
||||||
|
- Fixed crash with forge version 67 (Darkere)
|
||||||
|
|
||||||
### 1.9.1
|
### 1.9.1
|
||||||
- Fixed server crash (raoulvdberge)
|
- Fixed server crash (raoulvdberge)
|
||||||
|
@@ -94,7 +94,7 @@ processResources {
|
|||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
minecraft 'net.minecraftforge:forge:1.16.1-32.0.63'
|
minecraft 'net.minecraftforge:forge:1.16.1-32.0.67'
|
||||||
|
|
||||||
compileOnly fg.deobf("mezz.jei:jei-1.16.1:7.0.0.6:api")
|
compileOnly fg.deobf("mezz.jei:jei-1.16.1:7.0.0.6:api")
|
||||||
runtimeOnly fg.deobf("mezz.jei:jei-1.16.1:7.0.0.6")
|
runtimeOnly fg.deobf("mezz.jei:jei-1.16.1:7.0.0.6")
|
||||||
|
@@ -2,15 +2,15 @@ package com.refinedmods.refinedstorage.setup;
|
|||||||
|
|
||||||
import com.refinedmods.refinedstorage.command.PatternDumpCommand;
|
import com.refinedmods.refinedstorage.command.PatternDumpCommand;
|
||||||
import net.minecraft.command.Commands;
|
import net.minecraft.command.Commands;
|
||||||
|
import net.minecraftforge.event.RegisterCommandsEvent;
|
||||||
import net.minecraftforge.eventbus.api.SubscribeEvent;
|
import net.minecraftforge.eventbus.api.SubscribeEvent;
|
||||||
import net.minecraftforge.fml.event.server.FMLServerStartingEvent;
|
|
||||||
|
|
||||||
public class ServerSetup {
|
public class ServerSetup {
|
||||||
@SubscribeEvent
|
@SubscribeEvent
|
||||||
public void onServerStarting(FMLServerStartingEvent e) {
|
public void onRegisterCommands(RegisterCommandsEvent e) {
|
||||||
e.getCommandDispatcher().register(
|
e.getDispatcher().register(
|
||||||
Commands.literal("refinedstorage")
|
Commands.literal("refinedstorage")
|
||||||
.then(PatternDumpCommand.register(e.getCommandDispatcher()))
|
.then(PatternDumpCommand.register(e.getDispatcher()))
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -12,3 +12,14 @@ authors="Refined Mods"
|
|||||||
description='''
|
description='''
|
||||||
An elegant solution to your hoarding problem
|
An elegant solution to your hoarding problem
|
||||||
'''
|
'''
|
||||||
|
[[dependencies.refinedstorage]] #optional
|
||||||
|
# the modid of the dependency
|
||||||
|
modId="forge" #mandatory
|
||||||
|
# Does this dependency have to exist - if not, ordering below must be specified
|
||||||
|
mandatory=true #mandatory
|
||||||
|
# The version range of the dependency
|
||||||
|
versionRange="[32.0.67,)" #mandatory
|
||||||
|
# An ordering relationship for the dependency - BEFORE or AFTER required if the relationship is not mandatory
|
||||||
|
ordering="NONE"
|
||||||
|
# Side this dependency is applied on - BOTH, CLIENT or SERVER
|
||||||
|
side="BOTH"
|
Reference in New Issue
Block a user