Search in sources :

Example 1 with FMLClientSetupEvent

use of net.minecraftforge.fml.event.lifecycle.FMLClientSetupEvent in project TinkersConstruct by SlimeKnights.

the class CommonsClientEvents method clientSetup.

@SubscribeEvent
static void clientSetup(final FMLClientSetupEvent event) {
    ItemBlockRenderTypes.setRenderLayer(TinkerCommons.glow.get(), RenderType.translucent());
    // glass
    ItemBlockRenderTypes.setRenderLayer(TinkerCommons.clearGlass.get(), RenderType.cutout());
    ItemBlockRenderTypes.setRenderLayer(TinkerCommons.clearGlassPane.get(), RenderType.cutout());
    ItemBlockRenderTypes.setRenderLayer(TinkerCommons.clearTintedGlass.get(), RenderType.translucent());
    for (ClearStainedGlassBlock.GlassColor color : ClearStainedGlassBlock.GlassColor.values()) {
        ItemBlockRenderTypes.setRenderLayer(TinkerCommons.clearStainedGlass.get(color), RenderType.translucent());
        ItemBlockRenderTypes.setRenderLayer(TinkerCommons.clearStainedGlassPane.get(color), RenderType.translucent());
    }
    ItemBlockRenderTypes.setRenderLayer(TinkerCommons.soulGlass.get(), RenderType.translucent());
    ItemBlockRenderTypes.setRenderLayer(TinkerCommons.soulGlassPane.get(), RenderType.translucent());
    ItemBlockRenderTypes.setRenderLayer(TinkerMaterials.soulsteel.get(), RenderType.translucent());
    ItemBlockRenderTypes.setRenderLayer(TinkerMaterials.slimesteel.get(), RenderType.translucent());
    RenderType cutout = RenderType.cutout();
    ItemBlockRenderTypes.setRenderLayer(TinkerCommons.goldBars.get(), cutout);
    ItemBlockRenderTypes.setRenderLayer(TinkerCommons.goldPlatform.get(), cutout);
    ItemBlockRenderTypes.setRenderLayer(TinkerCommons.ironPlatform.get(), cutout);
    ItemBlockRenderTypes.setRenderLayer(TinkerCommons.cobaltPlatform.get(), cutout);
    Consumer<Block> setCutout = block -> ItemBlockRenderTypes.setRenderLayer(block, cutout);
    TinkerCommons.copperPlatform.forEach(setCutout);
    TinkerCommons.waxedCopperPlatform.forEach(setCutout);
    Font unicode = unicodeFontRender();
    TinkerBook.MATERIALS_AND_YOU.fontRenderer = unicode;
    TinkerBook.TINKERS_GADGETRY.fontRenderer = unicode;
    TinkerBook.PUNY_SMELTING.fontRenderer = unicode;
    TinkerBook.MIGHTY_SMELTING.fontRenderer = unicode;
    TinkerBook.FANTASTIC_FOUNDRY.fontRenderer = unicode;
    TinkerBook.ENCYCLOPEDIA.fontRenderer = unicode;
}
Also used : Font(net.minecraft.client.gui.Font) EventBusSubscriber(net.minecraftforge.fml.common.Mod.EventBusSubscriber) FMLClientSetupEvent(net.minecraftforge.fml.event.lifecycle.FMLClientSetupEvent) GlassColor(slimeknights.tconstruct.shared.block.ClearStainedGlassBlock.GlassColor) ItemColors(net.minecraft.client.color.item.ItemColors) Dist(net.minecraftforge.api.distmarker.Dist) ClientEventBase(slimeknights.tconstruct.common.ClientEventBase) TinkerBook(slimeknights.tconstruct.library.client.book.TinkerBook) Minecraft(net.minecraft.client.Minecraft) ClearStainedGlassBlock(slimeknights.tconstruct.shared.block.ClearStainedGlassBlock) RegisterClientReloadListenersEvent(net.minecraftforge.client.event.RegisterClientReloadListenersEvent) SubscribeEvent(net.minecraftforge.eventbus.api.SubscribeEvent) ColorHandlerEvent(net.minecraftforge.client.event.ColorHandlerEvent) MaterialRenderInfoLoader(slimeknights.tconstruct.library.client.materials.MaterialRenderInfoLoader) FontManager(net.minecraft.client.gui.font.FontManager) ItemBlockRenderTypes(net.minecraft.client.renderer.ItemBlockRenderTypes) RenderType(net.minecraft.client.renderer.RenderType) FluidParticle(slimeknights.tconstruct.shared.client.FluidParticle) TConstruct(slimeknights.tconstruct.TConstruct) Consumer(java.util.function.Consumer) DomainDisplayName(slimeknights.tconstruct.library.utils.DomainDisplayName) ParticleFactoryRegisterEvent(net.minecraftforge.client.event.ParticleFactoryRegisterEvent) BlockColors(net.minecraft.client.color.block.BlockColors) Block(net.minecraft.world.level.block.Block) Bus(net.minecraftforge.fml.common.Mod.EventBusSubscriber.Bus) ResourceColorManager(slimeknights.tconstruct.library.client.ResourceColorManager) GlassColor(slimeknights.tconstruct.shared.block.ClearStainedGlassBlock.GlassColor) ClearStainedGlassBlock(slimeknights.tconstruct.shared.block.ClearStainedGlassBlock) Block(net.minecraft.world.level.block.Block) ClearStainedGlassBlock(slimeknights.tconstruct.shared.block.ClearStainedGlassBlock) RenderType(net.minecraft.client.renderer.RenderType) Font(net.minecraft.client.gui.Font) SubscribeEvent(net.minecraftforge.eventbus.api.SubscribeEvent)

Example 2 with FMLClientSetupEvent

use of net.minecraftforge.fml.event.lifecycle.FMLClientSetupEvent in project Structurize by ldtteam.

the class ClientLifecycleSubscriber method onClientInit.

/**
 * Called when client app is initialized.
 *
 * @param event event
 */
@SubscribeEvent
public static void onClientInit(final FMLClientSetupEvent event) {
    OptifineCompat.getInstance().intialize();
    final IResourceManager rm = event.getMinecraftSupplier().get().getResourceManager();
    if (rm instanceof IReloadableResourceManager) {
        ((IReloadableResourceManager) rm).registerReloadListener((ISelectiveResourceReloadListener) (resourceManager, resourcePredicate) -> {
            if (resourcePredicate.test(VanillaResourceType.MODELS) || resourcePredicate.test(VanillaResourceType.TEXTURES) || resourcePredicate.test(VanillaResourceType.SHADERS)) {
                Log.getLogger().debug("Clearing blueprint renderer cache.");
                BlueprintHandler.getInstance().clearCache();
            }
            Log.getLogger().debug("Clearing gui XML cache.");
            Loader.cleanParsedCache();
        });
    }
    // final RenderType s = RenderType.getSolid();
    // ModBlocks.blockSubstitution;
    // ModBlocks.blockSolidSubstitution;
    // ModBlocks.blockFluidSubstitution;
    // ModBlocks.multiBlock;
    // ModBlocks.blockDecoBarrel_onside;
    // ModBlocks.blockDecoBarrel_standing;
    // ModBlocks.paperWalls;
    // ModBlocks.floatingCarpets;
    // ModBlocks.timberFrames;
    // ModBlocks.shingles;
    // ModBlocks.shingleSlabs;
    // final RenderType c = RenderType.getCutout();
    // final RenderType cm = RenderType.getCutoutMipped();
    final RenderType t = RenderType.translucent();
    ModBlocks.getPaperWalls().forEach(frame -> RenderTypeLookup.setRenderLayer(frame, t));
    // ModBlocks.CACTI_BLOCKS
    // ModBlocks.BRICKS
    DELAYED_RENDER_TYPE_SETUP.forEach(tu -> {
        if (!tu.getB().equals(RenderType.solid())) {
            RenderTypeLookup.setRenderLayer(tu.getA().get(), tu.getB());
        }
    });
    DELAYED_RENDER_TYPE_SETUP.clear();
    DELAYED_RENDER_TYPE_SETUP.trimToSize();
}
Also used : ISelectiveResourceReloadListener(net.minecraftforge.resource.ISelectiveResourceReloadListener) OnlyIn(net.minecraftforge.api.distmarker.OnlyIn) BlueprintHandler(com.ldtteam.structures.client.BlueprintHandler) IResourceManager(net.minecraft.resources.IResourceManager) Tuple(net.minecraft.util.Tuple) RenderType(net.minecraft.client.renderer.RenderType) FMLClientSetupEvent(net.minecraftforge.fml.event.lifecycle.FMLClientSetupEvent) Supplier(java.util.function.Supplier) VanillaResourceType(net.minecraftforge.resource.VanillaResourceType) Dist(net.minecraftforge.api.distmarker.Dist) ArrayList(java.util.ArrayList) Loader(com.ldtteam.blockout.Loader) RenderTypeLookup(net.minecraft.client.renderer.RenderTypeLookup) OptifineCompat(com.ldtteam.structurize.optifine.OptifineCompat) ModBlocks(com.ldtteam.structurize.blocks.ModBlocks) Block(net.minecraft.block.Block) Log(com.ldtteam.structurize.api.util.Log) SubscribeEvent(net.minecraftforge.eventbus.api.SubscribeEvent) IReloadableResourceManager(net.minecraft.resources.IReloadableResourceManager) IReloadableResourceManager(net.minecraft.resources.IReloadableResourceManager) IResourceManager(net.minecraft.resources.IResourceManager) RenderType(net.minecraft.client.renderer.RenderType) SubscribeEvent(net.minecraftforge.eventbus.api.SubscribeEvent)

Example 3 with FMLClientSetupEvent

use of net.minecraftforge.fml.event.lifecycle.FMLClientSetupEvent in project ElevatorMod by VsnGamer.

the class ClientRegistry method clientSetup.

@SubscribeEvent
public static void clientSetup(FMLClientSetupEvent event) {
    MenuScreens.register(Registry.ELEVATOR_CONTAINER.get(), ElevatorScreen::new);
    Minecraft.getInstance().getBlockColors().register(new ColorCamoElevator(), Registry.ELEVATOR_BLOCKS.values().stream().map(RegistryObject::get).toArray(ElevatorBlock[]::new));
    Registry.ELEVATOR_BLOCKS.values().forEach(o -> ItemBlockRenderTypes.setRenderLayer(o.get(), t -> true));
}
Also used : ResourceLocation(net.minecraft.resources.ResourceLocation) ModelBakeEvent(net.minecraftforge.client.event.ModelBakeEvent) ElevatorBakedModel(xyz.vsngamer.elevatorid.client.render.ElevatorBakedModel) MenuScreens(net.minecraft.client.gui.screens.MenuScreens) ColorCamoElevator(xyz.vsngamer.elevatorid.client.render.ColorCamoElevator) ModelRegistryEvent(net.minecraftforge.client.event.ModelRegistryEvent) Registry(xyz.vsngamer.elevatorid.init.Registry) ItemBlockRenderTypes(net.minecraft.client.renderer.ItemBlockRenderTypes) FMLClientSetupEvent(net.minecraftforge.fml.event.lifecycle.FMLClientSetupEvent) Dist(net.minecraftforge.api.distmarker.Dist) ElevatorBlock(xyz.vsngamer.elevatorid.blocks.ElevatorBlock) ElevatorMod(xyz.vsngamer.elevatorid.ElevatorMod) Minecraft(net.minecraft.client.Minecraft) ElevatorScreen(xyz.vsngamer.elevatorid.client.gui.ElevatorScreen) Mod(net.minecraftforge.fml.common.Mod) SubscribeEvent(net.minecraftforge.eventbus.api.SubscribeEvent) ForgeModelBakery(net.minecraftforge.client.model.ForgeModelBakery) RegistryObject(net.minecraftforge.registries.RegistryObject) ElevatorBlock(xyz.vsngamer.elevatorid.blocks.ElevatorBlock) ElevatorScreen(xyz.vsngamer.elevatorid.client.gui.ElevatorScreen) ColorCamoElevator(xyz.vsngamer.elevatorid.client.render.ColorCamoElevator) RegistryObject(net.minecraftforge.registries.RegistryObject) SubscribeEvent(net.minecraftforge.eventbus.api.SubscribeEvent)

Example 4 with FMLClientSetupEvent

use of net.minecraftforge.fml.event.lifecycle.FMLClientSetupEvent in project relics by SSKirillSS.

the class RemoteRegistry method setupClient.

@SubscribeEvent
public static void setupClient(final FMLClientSetupEvent event) {
    RenderingRegistry.registerEntityRenderingHandler(EntityRegistry.STELLAR_CATALYST_PROJECTILE.get(), new StellarCatalystProjectileRenderer.RenderFactory());
    RenderingRegistry.registerEntityRenderingHandler(EntityRegistry.SPACE_DISSECTOR.get(), new SpaceDissectorRenderer.RenderFactory());
    RenderingRegistry.registerEntityRenderingHandler(EntityRegistry.SHADOW_GLAIVE.get(), new ShadowGlaiveRenderer.RenderFactory());
    ClientRegistry.bindTileEntityRenderer(TileRegistry.PEDESTAL_TILE.get(), PedestalTileRenderer::new);
    ClientRegistry.bindTileEntityRenderer(TileRegistry.RUNIC_ALTAR_TILE.get(), RunicAltarTileRenderer::new);
    ClientRegistry.bindTileEntityRenderer(TileRegistry.RUNIC_ANVIL_TILE.get(), RunicAnvilTileRenderer::new);
    ClientRegistry.bindTileEntityRenderer(TileRegistry.BLOODY_LECTERN_TILE.get(), BloodyLecternTileRenderer::new);
    RenderTypeLookup.setRenderLayer(BlockRegistry.CHALK_BLOCK.get(), RenderType.cutout());
    RenderTypeLookup.setRenderLayer(BlockRegistry.RUNIC_ALTAR_BLOCK.get(), RenderType.cutout());
    RenderTypeLookup.setRenderLayer(BlockRegistry.RUNIC_ANVIL_BLOCK.get(), RenderType.cutout());
    RenderTypeLookup.setRenderLayer(BlockRegistry.BLOODY_LECTERN_BLOCK.get(), RenderType.cutout());
    HotkeyRegistry.register();
    ItemModelsProperties.register(ItemRegistry.SPACE_DISSECTOR.get(), new ResourceLocation(Reference.MODID, "mode"), (stack, world, entity) -> NBTUtils.getBoolean(stack, SpaceDissectorItem.TAG_IS_THROWN, false) ? 1 : 0);
    ItemModelsProperties.register(ItemRegistry.INFINITY_HAM.get(), new ResourceLocation(Reference.MODID, "pieces"), (stack, world, entity) -> Math.min(3, NBTUtils.getInt(stack, InfinityHamItem.TAG_PIECES, 0)));
    ItemModelsProperties.register(ItemRegistry.SHADOW_GLAIVE.get(), new ResourceLocation(Reference.MODID, "charges"), (stack, world, entity) -> Math.min(8, NBTUtils.getInt(stack, ShadowGlaiveItem.TAG_CHARGES, 0)));
    ItemModelsProperties.register(ItemRegistry.RELIC_CONTRACT.get(), new ResourceLocation(Reference.MODID, "blood"), (stack, world, entity) -> NBTUtils.getInt(stack, RelicContractItem.TAG_BLOOD, 0));
    ItemRegistry.getRegisteredRelics().forEach(item -> ItemModelsProperties.register(item, new ResourceLocation(Reference.MODID, "broken"), (stack, world, entity) -> DurabilityUtils.isBroken(stack) ? 1 : 0));
}
Also used : ShadowGlaiveRenderer(it.hurts.sskirillss.relics.client.renderer.entities.ShadowGlaiveRenderer) NBTUtils(it.hurts.sskirillss.relics.utils.NBTUtils) FMLClientSetupEvent(net.minecraftforge.fml.event.lifecycle.FMLClientSetupEvent) ClientRegistry(net.minecraftforge.fml.client.registry.ClientRegistry) Dist(net.minecraftforge.api.distmarker.Dist) RenderTypeLookup(net.minecraft.client.renderer.RenderTypeLookup) Reference(it.hurts.sskirillss.relics.utils.Reference) TextureStitchEvent(net.minecraftforge.client.event.TextureStitchEvent) SpaceDissectorRenderer(it.hurts.sskirillss.relics.client.renderer.entities.SpaceDissectorRenderer) SpaceDissectorItem(it.hurts.sskirillss.relics.items.relics.SpaceDissectorItem) RenderingRegistry(net.minecraftforge.fml.client.registry.RenderingRegistry) Mod(net.minecraftforge.fml.common.Mod) SubscribeEvent(net.minecraftforge.eventbus.api.SubscribeEvent) PedestalTileRenderer(it.hurts.sskirillss.relics.client.renderer.tiles.PedestalTileRenderer) ItemModelsProperties(net.minecraft.item.ItemModelsProperties) InfinityHamItem(it.hurts.sskirillss.relics.items.relics.InfinityHamItem) RelicContractItem(it.hurts.sskirillss.relics.items.RelicContractItem) RunicAnvilTileRenderer(it.hurts.sskirillss.relics.client.renderer.tiles.RunicAnvilTileRenderer) AtlasTexture(net.minecraft.client.renderer.texture.AtlasTexture) RenderType(net.minecraft.client.renderer.RenderType) RunicAltarTileRenderer(it.hurts.sskirillss.relics.client.renderer.tiles.RunicAltarTileRenderer) StellarCatalystProjectileRenderer(it.hurts.sskirillss.relics.client.renderer.entities.StellarCatalystProjectileRenderer) ShadowGlaiveItem(it.hurts.sskirillss.relics.items.relics.ShadowGlaiveItem) ResourceLocation(net.minecraft.util.ResourceLocation) BloodyLecternTileRenderer(it.hurts.sskirillss.relics.client.renderer.tiles.BloodyLecternTileRenderer) DurabilityUtils(it.hurts.sskirillss.relics.utils.DurabilityUtils) SpaceDissectorRenderer(it.hurts.sskirillss.relics.client.renderer.entities.SpaceDissectorRenderer) ShadowGlaiveRenderer(it.hurts.sskirillss.relics.client.renderer.entities.ShadowGlaiveRenderer) ResourceLocation(net.minecraft.util.ResourceLocation) StellarCatalystProjectileRenderer(it.hurts.sskirillss.relics.client.renderer.entities.StellarCatalystProjectileRenderer) RunicAltarTileRenderer(it.hurts.sskirillss.relics.client.renderer.tiles.RunicAltarTileRenderer) RunicAnvilTileRenderer(it.hurts.sskirillss.relics.client.renderer.tiles.RunicAnvilTileRenderer) PedestalTileRenderer(it.hurts.sskirillss.relics.client.renderer.tiles.PedestalTileRenderer) BloodyLecternTileRenderer(it.hurts.sskirillss.relics.client.renderer.tiles.BloodyLecternTileRenderer) SubscribeEvent(net.minecraftforge.eventbus.api.SubscribeEvent)

Example 5 with FMLClientSetupEvent

use of net.minecraftforge.fml.event.lifecycle.FMLClientSetupEvent in project minecolonies by Minecolonies.

the class MineColonies method doClientStuff.

@OnlyIn(Dist.CLIENT)
@SubscribeEvent
public static void doClientStuff(final FMLClientSetupEvent event) {
    RenderingRegistry.registerEntityRenderingHandler(ModEntities.CITIZEN, RenderBipedCitizen::new);
    RenderingRegistry.registerEntityRenderingHandler(ModEntities.VISITOR, RenderBipedCitizen::new);
    RenderingRegistry.registerEntityRenderingHandler(ModEntities.FISHHOOK, RenderFishHook::new);
    RenderingRegistry.registerEntityRenderingHandler(ModEntities.FIREARROW, FireArrowRenderer::new);
    RenderingRegistry.registerEntityRenderingHandler(ModEntities.MC_NORMAL_ARROW, TippedArrowRenderer::new);
    RenderingRegistry.registerEntityRenderingHandler(ModEntities.SPEAR, RendererSpear::new);
    RenderingRegistry.registerEntityRenderingHandler(ModEntities.DRUID_POTION, m -> new SpriteRenderer(m, event.getMinecraftSupplier().get().getItemRenderer(), 1.0f, true));
    RenderingRegistry.registerEntityRenderingHandler(ModEntities.BARBARIAN, RendererBarbarian::new);
    RenderingRegistry.registerEntityRenderingHandler(ModEntities.ARCHERBARBARIAN, RendererBarbarian::new);
    RenderingRegistry.registerEntityRenderingHandler(ModEntities.CHIEFBARBARIAN, RendererChiefBarbarian::new);
    RenderingRegistry.registerEntityRenderingHandler(ModEntities.PIRATE, RendererPirate::new);
    RenderingRegistry.registerEntityRenderingHandler(ModEntities.ARCHERPIRATE, RendererArcherPirate::new);
    RenderingRegistry.registerEntityRenderingHandler(ModEntities.CHIEFPIRATE, RendererChiefPirate::new);
    RenderingRegistry.registerEntityRenderingHandler(ModEntities.MUMMY, RendererMummy::new);
    RenderingRegistry.registerEntityRenderingHandler(ModEntities.ARCHERMUMMY, RendererArcherMummy::new);
    RenderingRegistry.registerEntityRenderingHandler(ModEntities.PHARAO, RendererPharao::new);
    RenderingRegistry.registerEntityRenderingHandler(ModEntities.SHIELDMAIDEN, RendererShieldmaidenNorsemen::new);
    RenderingRegistry.registerEntityRenderingHandler(ModEntities.NORSEMEN_ARCHER, RendererArcherNorsemen::new);
    RenderingRegistry.registerEntityRenderingHandler(ModEntities.NORSEMEN_CHIEF, RendererChiefNorsemen::new);
    RenderingRegistry.registerEntityRenderingHandler(ModEntities.AMAZON, RendererAmazon::new);
    RenderingRegistry.registerEntityRenderingHandler(ModEntities.AMAZONSPEARMAN, RendererAmazonSpearman::new);
    RenderingRegistry.registerEntityRenderingHandler(ModEntities.AMAZONCHIEF, RendererChiefAmazon::new);
    RenderingRegistry.registerEntityRenderingHandler(ModEntities.MERCENARY, RenderMercenary::new);
    RenderingRegistry.registerEntityRenderingHandler(ModEntities.SITTINGENTITY, RenderSitting::new);
    RenderingRegistry.registerEntityRenderingHandler(ModEntities.MINECART, MinecartRenderer::new);
    ClientRegistry.bindTileEntityRenderer(MinecoloniesTileEntities.BUILDING, EmptyTileEntitySpecialRenderer::new);
    ClientRegistry.bindTileEntityRenderer(MinecoloniesTileEntities.SCARECROW, TileEntityScarecrowRenderer::new);
    ClientRegistry.bindTileEntityRenderer(MinecoloniesTileEntities.ENCHANTER, TileEntityEnchanterRenderer::new);
    ClientRegistry.bindTileEntityRenderer(MinecoloniesTileEntities.COLONY_FLAG, TileEntityColonyFlagRenderer::new);
    ClientRegistry.bindTileEntityRenderer(MinecoloniesTileEntities.NAMED_GRAVE, TileEntityNamedGraveRenderer::new);
    ModModelTypeInitializer.init();
    Arrays.stream(ModBlocks.getHuts()).forEach(hut -> RenderTypeLookup.setRenderLayer(hut, renderType -> renderType.equals(RenderType.cutout()) || renderType.equals(RenderType.solid()) || renderType.equals(RenderType.translucent())));
    RenderTypeLookup.setRenderLayer(ModBlocks.blockScarecrow, RenderType.cutout());
    RenderTypeLookup.setRenderLayer(ModBlocks.blockRack, RenderType.cutout());
    RenderTypeLookup.setRenderLayer(ModBlocks.blockDecorationPlaceholder, RenderType.cutout());
    RenderTypeLookup.setRenderLayer(ModBlocks.blockCompostedDirt, RenderType.cutout());
    RenderTypeLookup.setRenderLayer(ModBlocks.blockBarrel, RenderType.cutout());
    RenderTypeLookup.setRenderLayer(ModBlocks.blockWayPoint, RenderType.cutout());
    ItemModelsProperties.register(ModItems.spear, new ResourceLocation("throwing"), (item, world, entity) -> (entity != null && entity.isUsingItem() && entity.getUseItem() == item) ? 1.0F : 0.0F);
}
Also used : RendererChiefNorsemen(com.minecolonies.coremod.client.render.mobs.norsemen.RendererChiefNorsemen) ModLootConditions(com.minecolonies.api.loot.ModLootConditions) Arrays(java.util.Arrays) LanguageHandler(com.ldtteam.structurize.util.LanguageHandler) FireArrowRenderer(com.minecolonies.coremod.client.render.projectile.FireArrowRenderer) CapabilityManager(net.minecraftforge.common.capabilities.CapabilityManager) FMLClientSetupEvent(net.minecraftforge.fml.event.lifecycle.FMLClientSetupEvent) ClientProxy(com.minecolonies.coremod.proxy.ClientProxy) RaiderMobUtils(com.minecolonies.api.entity.mobs.RaiderMobUtils) Dist(net.minecraftforge.api.distmarker.Dist) Configuration(com.minecolonies.api.configuration.Configuration) AbstractEntityMinecoloniesMob(com.minecolonies.api.entity.mobs.AbstractEntityMinecoloniesMob) ModModelTypeInitializer(com.minecolonies.apiimp.initializer.ModModelTypeInitializer) RegistryEvent(net.minecraftforge.event.RegistryEvent) ModItems(com.minecolonies.api.items.ModItems) SubscribeEvent(net.minecraftforge.eventbus.api.SubscribeEvent) Log(com.minecolonies.api.util.Log) Constants(com.minecolonies.api.util.constant.Constants) ItemModelsProperties(net.minecraft.item.ItemModelsProperties) RendererBarbarian(com.minecolonies.coremod.client.render.mobs.barbarians.RendererBarbarian) RendererSpear(com.minecolonies.coremod.client.render.projectile.RendererSpear) RendererArcherMummy(com.minecolonies.coremod.client.render.mobs.egyptians.RendererArcherMummy) com.minecolonies.coremod.event(com.minecolonies.coremod.event) AtlasTexture(net.minecraft.client.renderer.texture.AtlasTexture) RendererMummy(com.minecolonies.coremod.client.render.mobs.egyptians.RendererMummy) CapabilityInject(net.minecraftforge.common.capabilities.CapabilityInject) Capability(net.minecraftforge.common.capabilities.Capability) DistExecutor(net.minecraftforge.fml.DistExecutor) FMLLoadCompleteEvent(net.minecraftforge.fml.event.lifecycle.FMLLoadCompleteEvent) RendererArcherNorsemen(com.minecolonies.coremod.client.render.mobs.norsemen.RendererArcherNorsemen) RendererChiefBarbarian(com.minecolonies.coremod.client.render.mobs.barbarians.RendererChiefBarbarian) AbstractEntityCitizen(com.minecolonies.api.entity.citizen.AbstractEntityCitizen) TagsUpdatedEvent(net.minecraftforge.event.TagsUpdatedEvent) RequestSystemInitializer(com.minecolonies.coremod.colony.requestsystem.init.RequestSystemInitializer) ModConfig(net.minecraftforge.fml.config.ModConfig) RendererAmazon(com.minecolonies.coremod.client.render.mobs.amazon.RendererAmazon) NotNull(org.jetbrains.annotations.NotNull) ModSoundEvents(com.minecolonies.api.sounds.ModSoundEvents) OnlyIn(net.minecraftforge.api.distmarker.OnlyIn) RendererArcherPirate(com.minecolonies.coremod.client.render.mobs.pirates.RendererArcherPirate) ModBlocks(com.minecolonies.api.blocks.ModBlocks) InteractionValidatorInitializer(com.minecolonies.apiimp.initializer.InteractionValidatorInitializer) IProxy(com.minecolonies.coremod.proxy.IProxy) CommonProxy(com.minecolonies.coremod.proxy.CommonProxy) ClientRegistry(net.minecraftforge.fml.client.registry.ClientRegistry) com.minecolonies.coremod.client.render(com.minecolonies.coremod.client.render) EntityMercenary(com.minecolonies.coremod.entity.mobs.EntityMercenary) RenderTypeLookup(net.minecraft.client.renderer.RenderTypeLookup) FMLCommonSetupEvent(net.minecraftforge.fml.event.lifecycle.FMLCommonSetupEvent) StandardFactoryControllerInitializer(com.minecolonies.coremod.colony.requestsystem.init.StandardFactoryControllerInitializer) EntityAttributeCreationEvent(net.minecraftforge.event.entity.EntityAttributeCreationEvent) RendererChiefAmazon(com.minecolonies.coremod.client.render.mobs.amazon.RendererChiefAmazon) TextureStitchEvent(net.minecraftforge.client.event.TextureStitchEvent) RendererAmazonSpearman(com.minecolonies.coremod.client.render.mobs.amazon.RendererAmazonSpearman) net.minecraft.client.renderer.entity(net.minecraft.client.renderer.entity) RenderingRegistry(net.minecraftforge.fml.client.registry.RenderingRegistry) Mod(net.minecraftforge.fml.common.Mod) RendererPirate(com.minecolonies.coremod.client.render.mobs.pirates.RendererPirate) MinecoloniesTileEntities(com.minecolonies.api.tileentities.MinecoloniesTileEntities) StructureLoadingUtils(com.ldtteam.structurize.util.StructureLoadingUtils) DruidPotionEntity(com.minecolonies.coremod.entity.DruidPotionEntity) ModTags(com.minecolonies.api.items.ModTags) RendererPharao(com.minecolonies.coremod.client.render.mobs.egyptians.RendererPharao) IColonyTagCapability(com.minecolonies.api.colony.IColonyTagCapability) ModEntities(com.minecolonies.api.entity.ModEntities) RendererChiefPirate(com.minecolonies.coremod.client.render.mobs.pirates.RendererChiefPirate) IColonyManagerCapability(com.minecolonies.coremod.colony.IColonyManagerCapability) RenderType(net.minecraft.client.renderer.RenderType) IChunkmanagerCapability(com.minecolonies.api.colony.IChunkmanagerCapability) RenderMercenary(com.minecolonies.coremod.client.render.mobs.RenderMercenary) Consumer(java.util.function.Consumer) AdvancementTriggers(com.minecolonies.api.advancements.AdvancementTriggers) Attribute(net.minecraft.entity.ai.attributes.Attribute) MinecraftForge(net.minecraftforge.common.MinecraftForge) RendererShieldmaidenNorsemen(com.minecolonies.coremod.client.render.mobs.norsemen.RendererShieldmaidenNorsemen) PlacementHandlerInitializer(com.minecolonies.coremod.placementhandlers.PlacementHandlerInitializer) ServerProxy(com.minecolonies.coremod.proxy.ServerProxy) ResourceLocation(net.minecraft.util.ResourceLocation) RendererChiefNorsemen(com.minecolonies.coremod.client.render.mobs.norsemen.RendererChiefNorsemen) SoundEvent(net.minecraft.util.SoundEvent) FireArrowRenderer(com.minecolonies.coremod.client.render.projectile.FireArrowRenderer) RendererShieldmaidenNorsemen(com.minecolonies.coremod.client.render.mobs.norsemen.RendererShieldmaidenNorsemen) RendererArcherPirate(com.minecolonies.coremod.client.render.mobs.pirates.RendererArcherPirate) RendererChiefPirate(com.minecolonies.coremod.client.render.mobs.pirates.RendererChiefPirate) RendererAmazonSpearman(com.minecolonies.coremod.client.render.mobs.amazon.RendererAmazonSpearman) RendererArcherMummy(com.minecolonies.coremod.client.render.mobs.egyptians.RendererArcherMummy) RendererChiefBarbarian(com.minecolonies.coremod.client.render.mobs.barbarians.RendererChiefBarbarian) RendererMummy(com.minecolonies.coremod.client.render.mobs.egyptians.RendererMummy) RendererArcherNorsemen(com.minecolonies.coremod.client.render.mobs.norsemen.RendererArcherNorsemen) RendererAmazon(com.minecolonies.coremod.client.render.mobs.amazon.RendererAmazon) ResourceLocation(net.minecraft.util.ResourceLocation) RendererSpear(com.minecolonies.coremod.client.render.projectile.RendererSpear) RendererPirate(com.minecolonies.coremod.client.render.mobs.pirates.RendererPirate) RenderMercenary(com.minecolonies.coremod.client.render.mobs.RenderMercenary) RendererChiefAmazon(com.minecolonies.coremod.client.render.mobs.amazon.RendererChiefAmazon) RendererBarbarian(com.minecolonies.coremod.client.render.mobs.barbarians.RendererBarbarian) RendererPharao(com.minecolonies.coremod.client.render.mobs.egyptians.RendererPharao) SubscribeEvent(net.minecraftforge.eventbus.api.SubscribeEvent) OnlyIn(net.minecraftforge.api.distmarker.OnlyIn)

Aggregations

FMLClientSetupEvent (net.minecraftforge.fml.event.lifecycle.FMLClientSetupEvent)8 Dist (net.minecraftforge.api.distmarker.Dist)4 SubscribeEvent (net.minecraftforge.eventbus.api.SubscribeEvent)4 FMLCommonSetupEvent (net.minecraftforge.fml.event.lifecycle.FMLCommonSetupEvent)4 RenderType (net.minecraft.client.renderer.RenderType)3 ResourceLocation (net.minecraft.util.ResourceLocation)3 MinecraftForge (net.minecraftforge.common.MinecraftForge)3 CapabilityManager (net.minecraftforge.common.capabilities.CapabilityManager)3 LanguageHandler (com.ldtteam.structurize.util.LanguageHandler)2 StructureLoadingUtils (com.ldtteam.structurize.util.StructureLoadingUtils)2 AdvancementTriggers (com.minecolonies.api.advancements.AdvancementTriggers)2 ModBlocks (com.minecolonies.api.blocks.ModBlocks)2 IChunkmanagerCapability (com.minecolonies.api.colony.IChunkmanagerCapability)2 IColonyTagCapability (com.minecolonies.api.colony.IColonyTagCapability)2 Configuration (com.minecolonies.api.configuration.Configuration)2 ModEntities (com.minecolonies.api.entity.ModEntities)2 AbstractEntityCitizen (com.minecolonies.api.entity.citizen.AbstractEntityCitizen)2 AbstractEntityMinecoloniesMob (com.minecolonies.api.entity.mobs.AbstractEntityMinecoloniesMob)2 RaiderMobUtils (com.minecolonies.api.entity.mobs.RaiderMobUtils)2 ModItems (com.minecolonies.api.items.ModItems)2