1
0
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:
SquidDev
2020-04-22 10:39:00 +01:00
811 changed files with 13275 additions and 6159 deletions

View File

@@ -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,