mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2026-01-18 09:40:18 +00:00
Merge branch 'mc-1.14.x' into mc-1.15.x
This commit is contained in:
@@ -45,14 +45,20 @@ import net.minecraftforge.fml.event.server.FMLServerStoppedEvent;
|
||||
public final class ComputerCraftProxyCommon
|
||||
{
|
||||
@SubscribeEvent
|
||||
@SuppressWarnings( "deprecation" )
|
||||
public static void init( FMLCommonSetupEvent event )
|
||||
{
|
||||
NetworkHandler.setup();
|
||||
|
||||
registerProviders();
|
||||
|
||||
ArgumentSerializers.register();
|
||||
net.minecraftforge.fml.DeferredWorkQueue.runLater( () -> {
|
||||
registerProviders();
|
||||
ArgumentSerializers.register();
|
||||
registerLoot();
|
||||
} );
|
||||
}
|
||||
|
||||
public static void registerLoot()
|
||||
{
|
||||
LootConditionManager.registerCondition( ConstantLootConditionSerializer.of(
|
||||
new ResourceLocation( ComputerCraft.MOD_ID, "block_named" ),
|
||||
BlockNamedEntityLootCondition.class,
|
||||
|
||||
Reference in New Issue
Block a user