Résolu Probléme avec les demi dalle (crash et pas de chargement de texture)
-
Bonjours,Bonsoir je vient de suivre le tuto de robin sur les demis dalle et j’ai aussi suivi le tuto pour les mettre en 1.7.10 mais voila quand je me give la demi dalle le juex craft l’erreur :
[16:07:40] [Client thread/ERROR] [TEXTURE ERRORS]: +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+= [16:07:40] [Client thread/ERROR] [TEXTURE ERRORS]: The following texture errors were found. [16:07:40] [Client thread/ERROR] [TEXTURE ERRORS]: ================================================== [16:07:40] [Client thread/ERROR] [TEXTURE ERRORS]: DOMAIN minecraft [16:07:40] [Client thread/ERROR] [TEXTURE ERRORS]: –------------------------------------------------ [16:07:40] [Client thread/ERROR] [TEXTURE ERRORS]: domain minecraft is missing 2 textures [16:07:40] [Client thread/ERROR] [TEXTURE ERRORS]: domain minecraft has 3 locations: [16:07:40] [Client thread/ERROR] [TEXTURE ERRORS]: unknown resourcepack type net.minecraft.client.resources.DefaultResourcePack : Default [16:07:40] [Client thread/ERROR] [TEXTURE ERRORS]: mod FML resources at C:\Users\ph1823 - Minecraft\.gradle\caches\minecraft\net\minecraftforge\forge\1.7.10-10.13.4.1448-1.7.10\forgeSrc-1.7.10-10.13.4.1448-1.7.10.jar [16:07:40] [Client thread/ERROR] [TEXTURE ERRORS]: mod Forge resources at C:\Users\ph1823 - Minecraft\.gradle\caches\minecraft\net\minecraftforge\forge\1.7.10-10.13.4.1448-1.7.10\forgeSrc-1.7.10-10.13.4.1448-1.7.10.jar [16:07:40] [Client thread/ERROR] [TEXTURE ERRORS]: –----------------------- [16:07:40] [Client thread/ERROR] [TEXTURE ERRORS]: The missing resources for domain minecraft are: [16:07:40] [Client thread/ERROR] [TEXTURE ERRORS]: textures/blocks/MISSING_ICON_BLOCK_165_TutorialSlab.png [16:07:40] [Client thread/ERROR] [TEXTURE ERRORS]: textures/blocks/MISSING_ICON_BLOCK_166_TutorialSlab.png [16:07:40] [Client thread/ERROR] [TEXTURE ERRORS]: –----------------------- [16:07:40] [Client thread/ERROR] [TEXTURE ERRORS]: No other errors exist for domain minecraft [16:07:40] [Client thread/ERROR] [TEXTURE ERRORS]: ================================================== [16:07:40] [Client thread/ERROR] [TEXTURE ERRORS]: +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+= [16:08:05] [Server thread/INFO] [FML]: Loading dimension 0 (New World) (net.minecraft.server.integrated.IntegratedServer@1401d9e0) [16:08:05] [Server thread/INFO] [FML]: Loading dimension 1 (New World) (net.minecraft.server.integrated.IntegratedServer@1401d9e0) [16:08:05] [Server thread/INFO] [FML]: Loading dimension -1 (New World) (net.minecraft.server.integrated.IntegratedServer@1401d9e0) [16:08:05] [Server thread/INFO]: Preparing start region for level 0 [16:08:06] [Server thread/INFO]: Changing view distance to 12, from 10 [16:08:06] [Netty Client IO #0/INFO] [FML]: Server protocol version 2 [16:08:06] [Netty IO #1/INFO] [FML]: Client protocol version 2 [16:08:06] [Netty IO #1/INFO] [FML]: Client attempting to join with 4 mods : GuiCustom@1.0,FML@7.10.99.99,Forge@10.13.4.1448,mcp@9.05 [16:08:06] [Netty IO #1/INFO] [FML]: Attempting connection with missing mods [] at CLIENT [16:08:06] [Netty Client IO #0/INFO] [FML]: Attempting connection with missing mods [] at SERVER [16:08:06] [Client thread/INFO] [FML]: [Client thread] Client side modded connection established [16:08:06] [Server thread/INFO] [FML]: [Server thread] Server side modded connection established [16:08:06] [Server thread/INFO]: Player27[local:E:6b39217a] logged in with entity id 373 at (131.5, 64.0, 243.5) [16:08:06] [Server thread/INFO]: Player27 joined the game [16:08:07] [Server thread/INFO]: Stopping server [16:08:07] [Server thread/INFO]: Saving players [16:08:07] [Server thread/INFO]: Saving worlds [16:08:07] [Server thread/INFO]: Saving chunks for level 'New World'/Overworld [16:08:07] [Server thread/INFO]: Saving chunks for level 'New World'/Nether [16:08:07] [Server thread/INFO]: Saving chunks for level 'New World'/The End [16:08:07] [Server thread/INFO] [FML]: Unloading dimension 0 [16:08:07] [Server thread/INFO] [FML]: Unloading dimension -1 [16:08:07] [Server thread/INFO] [FML]: Unloading dimension 1 [16:08:07] [Server thread/INFO] [FML]: Applying holder lookups [16:08:07] [Server thread/INFO] [FML]: Holder lookups applied [16:08:08] [Client thread/FATAL]: Reported exception thrown! net.minecraft.util.ReportedException: Rendering item at net.minecraft.client.renderer.entity.RenderItem.renderItemAndEffectIntoGUI(RenderItem.java:624) ~[RenderItem.class:?] at net.minecraft.client.gui.GuiIngame.renderInventorySlot(GuiIngame.java:973) ~[GuiIngame.class:?] at net.minecraftforge.client.GuiIngameForge.renderHotbar(GuiIngameForge.java:209) ~[GuiIngameForge.class:?] at net.minecraftforge.client.GuiIngameForge.renderGameOverlay(GuiIngameForge.java:144) ~[GuiIngameForge.class:?] at net.minecraft.client.renderer.EntityRenderer.updateCameraAndRender(EntityRenderer.java:1114) ~[EntityRenderer.class:?] at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1067) ~[Minecraft.class:?] at net.minecraft.client.Minecraft.run(Minecraft.java:962) [Minecraft.class:?] at net.minecraft.client.main.Main.main(Main.java:164) [Main.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_60] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_60] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_60] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_60] at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.11.jar:?] at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.11.jar:?] at net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source) [start/:?] at GradleStart.main(Unknown Source) [start/:?] Caused by: java.lang.NullPointerException at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) ~[BlockSlabTutorial.class:?] at com.example.examplemod.ItemBlockTutorialSlab.getIconFromDamage(ItemBlockTutorialSlab.java:38) ~[ItemBlockTutorialSlab.class:?] at net.minecraft.item.Item.getIconIndex(Item.java:457) ~[Item.class:?] at net.minecraft.item.ItemStack.getIconIndex(ItemStack.java:131) ~[ItemStack.class:?] at net.minecraft.client.renderer.entity.RenderItem.renderItemIntoGUI(RenderItem.java:420) ~[RenderItem.class:?] at net.minecraft.client.renderer.entity.RenderItem.renderItemAndEffectIntoGUI(RenderItem.java:585) ~[RenderItem.class:?] … 15 more [16:08:08] [Client thread/INFO] [STDOUT]: [net.minecraft.client.Minecraft:displayCrashReport:388]: –-- Minecraft Crash Report ---- // Ooh. Shiny. Time: 25/08/15 16:08 Description: Rendering item java.lang.NullPointerException: Rendering item at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at com.example.examplemod.ItemBlockTutorialSlab.getIconFromDamage(ItemBlockTutorialSlab.java:38) at net.minecraft.item.Item.getIconIndex(Item.java:457) at net.minecraft.item.ItemStack.getIconIndex(ItemStack.java:131) at net.minecraft.client.renderer.entity.RenderItem.renderItemIntoGUI(RenderItem.java:420) at net.minecraft.client.renderer.entity.RenderItem.renderItemAndEffectIntoGUI(RenderItem.java:585) at net.minecraft.client.gui.GuiIngame.renderInventorySlot(GuiIngame.java:973) at net.minecraftforge.client.GuiIngameForge.renderHotbar(GuiIngameForge.java:209) at net.minecraftforge.client.GuiIngameForge.renderGameOverlay(GuiIngameForge.java:144) at net.minecraft.client.renderer.EntityRenderer.updateCameraAndRender(EntityRenderer.java:1114) at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1067) at net.minecraft.client.Minecraft.run(Minecraft.java:962) at net.minecraft.client.main.Main.main(Main.java:164) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) at net.minecraft.launchwrapper.Launch.main(Launch.java:28) at net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source) at GradleStart.main(Unknown Source) A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- Head -- Stacktrace: at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at com.example.examplemod.ItemBlockTutorialSlab.getIconFromDamage(ItemBlockTutorialSlab.java:38) at net.minecraft.item.Item.getIconIndex(Item.java:457) at net.minecraft.item.ItemStack.getIconIndex(ItemStack.java:131) at net.minecraft.client.renderer.entity.RenderItem.renderItemIntoGUI(RenderItem.java:420) -- Item being rendered -- Details: Item Type: com.example.examplemod.ItemBlockTutorialSlab@7a59780b Item Aux: 0 Item NBT: null Item Foil: false Stacktrace: at net.minecraft.client.renderer.entity.RenderItem.renderItemAndEffectIntoGUI(RenderItem.java:585) at net.minecraft.client.gui.GuiIngame.renderInventorySlot(GuiIngame.java:973) at net.minecraftforge.client.GuiIngameForge.renderHotbar(GuiIngameForge.java:209) at net.minecraftforge.client.GuiIngameForge.renderGameOverlay(GuiIngameForge.java:144) -- Affected level -- Details: Level name: MpServer All players: 1 total; [EntityClientPlayerMP['Player27'/373, l='MpServer', x=131,50, y=65,62, z=243,50]] Chunk stats: MultiplayerChunkCache: 0, 0 Level seed: 0 Level generator: ID 00 - default, ver 1\. Features enabled: false Level generator options: Level spawn location: World: (126,64,246), Chunk: (at 14,4,6 in 7,15; contains blocks 112,0,240 to 127,255,255), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511) Level time: 2475 game time, 2475 day time Level dimension: 0 Level storage version: 0x00000 - Unknown? Level weather: Rain time: 0 (now: false), thunder time: 0 (now: false) Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: false Forced entities: 1 total; [EntityClientPlayerMP['Player27'/373, l='MpServer', x=131,50, y=65,62, z=243,50]] Retry entities: 0 total; [] Server brand: fml,forge Server type: Integrated singleplayer server Stacktrace: at net.minecraft.client.multiplayer.WorldClient.addWorldInfoToCrashReport(WorldClient.java:415) at net.minecraft.client.Minecraft.addGraphicsAndWorldToCrashReport(Minecraft.java:2566) at net.minecraft.client.Minecraft.run(Minecraft.java:984) at net.minecraft.client.main.Main.main(Main.java:164) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) at net.minecraft.launchwrapper.Launch.main(Launch.java:28) at net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source) at GradleStart.main(Unknown Source) – System Details -- Details: Minecraft Version: 1.7.10 Operating System: Windows 8.1 (amd64) version 6.3 Java Version: 1.8.0_60, Oracle Corporation Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 806974464 bytes (769 MB) / 1038876672 bytes (990 MB) up to 1038876672 bytes (990 MB) JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used IntCache: cache: 1, tcache: 1, allocated: 12, tallocated: 94 FML: MCP v9.05 FML v7.10.99.99 Minecraft Forge 10.13.4.1448 4 mods loaded, 4 mods active States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored UCHIJAAAA mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) UCHIJAAAA FML{7.10.99.99} [Forge Mod Loader] (forgeSrc-1.7.10-10.13.4.1448-1.7.10.jar) UCHIJAAAA Forge{10.13.4.1448} [Minecraft Forge] (forgeSrc-1.7.10-10.13.4.1448-1.7.10.jar) UCHIJAAAA GuiCustom{1.0} [GuiCustom] (bin) GL info: ' Vendor: 'NVIDIA Corporation' Version: '4.5.0 NVIDIA 355.60' Renderer: 'GeForce GTX 750 Ti/PCIe/SSE2' Launched Version: 1.7.10 LWJGL: 2.9.1 OpenGL: GeForce GTX 750 Ti/PCIe/SSE2 GL version 4.5.0 NVIDIA 355.60, NVIDIA Corporation GL Caps: Using GL 1.3 multitexturing. Using framebuffer objects because OpenGL 3.0 is supported and separate blending is supported. Anisotropic filtering is supported and maximum anisotropy is 16. Shaders are available because OpenGL 2.1 is supported. Is Modded: Definitely; Client brand changed to 'fml,forge' Type: Client (map_client.txt) Resource Packs: [] Current Language: English (US) Profiler Position: N/A (disabled) Vec3 Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used Anisotropic Filtering: Off (1) [16:08:08] [Client thread/INFO] [STDOUT]: [net.minecraft.client.Minecraft:displayCrashReport:398]: #@!@# Game crashed! Crash report saved to: #@!@# C:\Users\ph1823 - Minecraft\Desktop\Mods\eclipse\.\crash-reports\crash-2015-08-25_16.08.08-client.txt AL lib: (EE) alc_cleanup: 1 device not closed
Les code java :
Classe principal :package com.example.examplemod; import net.minecraft.init.Blocks; import net.minecraft.item.Item; import net.minecraft.util.EnumChatFormatting; import net.minecraft.util.IIcon; import net.minecraft.util.MathHelper; import net.minecraft.util.ResourceLocation; import cpw.mods.fml.client.FMLClientHandler; import cpw.mods.fml.common.FMLCommonHandler; //import cpw.mods.fml.client.config.GuiConfigEntries.ChatColorEntry; import cpw.mods.fml.common.Mod; import cpw.mods.fml.common.Mod.EventHandler; import cpw.mods.fml.common.event.FMLInitializationEvent; import java.awt.Desktop; import java.net.URI; import java.util.List; import java.util.Random; import joptsimple.internal.Strings; import org.apache.logging.log4j.LogManager; import net.minecraft.block.Block; import net.minecraft.block.material.Material; import net.minecraft.client.Minecraft; import net.minecraft.client.gui.GuiButton; import net.minecraft.client.gui.GuiMainMenu; import net.minecraft.client.gui.GuiOptions; import net.minecraft.client.gui.GuiScreen; import net.minecraft.client.gui.GuiScreenResourcePacks; import net.minecraft.client.multiplayer.GuiConnecting; import net.minecraft.client.multiplayer.ServerData; import net.minecraft.client.renderer.OpenGlHelper; import net.minecraft.client.renderer.Tessellator; import net.minecraft.client.renderer.texture.DynamicTexture; import net.minecraft.client.renderer.texture.IIconRegister; import net.minecraftforge.client.event.GuiOpenEvent; import net.minecraftforge.client.event.GuiScreenEvent.ActionPerformedEvent; import net.minecraftforge.client.event.GuiScreenEvent.InitGuiEvent; import net.minecraftforge.common.MinecraftForge; import cpw.mods.fml.common.ObfuscationReflectionHelper; import cpw.mods.fml.common.eventhandler.SubscribeEvent; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import org.lwjgl.opengl.GL11; import org.lwjgl.util.Color; import org.lwjgl.util.glu.Project; import com.google.common.collect.Lists; import cpw.mods.fml.common.Mod; import cpw.mods.fml.common.SidedProxy; import cpw.mods.fml.common.event.FMLInitializationEvent; import cpw.mods.fml.common.event.FMLPostInitializationEvent; import cpw.mods.fml.common.event.FMLPreInitializationEvent; import cpw.mods.fml.common.gameevent.TickEvent; import cpw.mods.fml.common.network.FMLNetworkEvent; import cpw.mods.fml.common.network.NetworkRegistry; import cpw.mods.fml.common.registry.GameRegistry; import cpw.mods.fml.relauncher.Side; import cpw.mods.fml.relauncher.SideOnly; @Mod(modid = ExampleMod.MODID, name = ExampleMod.NAME, version = ExampleMod.VERSION) public class ExampleMod { public static final String MODID = "GuiCustom"; public static final String VERSION = "1.0"; public static final String NAME = "GuiCustom"; public static final Logger LOGGER = LogManager.getLogger(NAME); public static Block BlockTutorial, TutorialMetadata, StairsTutorial, DoubleSlabTuto, SingleSlabTuto, BlockTutorialCake, BlockNewFenceTutorial, BlockNewWallTutorial, blockFluidTutorial, blockTable, blockSculpture; public static Item ItemTutorial, ItemWithMetadata, TutorialHelmet, TutorialChestPlate, TutorialLeggings, TutorialBoots, TutorialEgg, TutorialSword, TutorialPickaxe, TutorialAxe, TutorialShovel, TutorialHoe, ItemTutorialCake, ItemCdTutorial, bucketTutorial; /* @SubscribeEvent public void onTick(TickEvent.ClientTickEvent event) { Minecraft mc = FMLClientHandler.instance().getClient(); if(mc.currentScreen != null && mc.currentScreen.getClass().equals(GuiMainMenu.class)) { mc.displayGuiScreen(new CustomMainMenu()); } } @EventHandler public void init(FMLInitializationEvent event) { // some example code if(event.getSide().isClient()) { FMLCommonHandler.instance().bus().register(this); } } public ExampleMod() { // registering the PROXY to use events from MinecraftForge MinecraftForge.EVENT_BUS.register(this); } /** * This event is called when an action is performed * This method avoid opening the resource packs GUI */ /* @SubscribeEvent public void onActionPerformed(ActionPerformedEvent.Pre event) { System.out.println(event.button.id); //if(event.button.id) //if(event.gui instanceof net.minecraft.client.gui.GuiDisconnecwxted) { //event.setCanceled(true); //mc. //} if(event.gui instanceof CustomMainMenu) { if(event.button.id == 33) { FMLClientHandler.instance().setupServerList(); FMLClientHandler.instance().connectToServer(this, new ServerData("Test", "62.210.230.229:26726")); } } if (event.gui instanceof GuiOptions && event.button.id == 105) event.setCanceled(true); } */ //public void onJoin(FMLNetworkEvent.ServerDisconnectionFromClientEvent e) { // // } private IIcon icontop, iconbottom, iconfront,blockIcon; public void registerBlockIcons(IIconRegister iconRegister) { blockIcon = iconRegister.registerIcon("guicustom:1"); iconfront = iconRegister.registerIcon("guicustom:1"); icontop = iconRegister.registerIcon("guicustom:1"); iconbottom = iconRegister.registerIcon("guicustom:1"); } @SideOnly(Side.CLIENT) public IIcon getIcon(int side, int metadata) { return side == 1 ? this.icontop : (side == 0 ? this.iconbottom : (metadata == 2 && side == 2 ? this.iconfront : (metadata == 3 && side == 5 ? this.iconfront : (metadata == 0 && side == 3 ? this.iconfront : (metadata == 1 && side == 4 ? this.iconfront : this.blockIcon))))); } @EventHandler public void init(cpw.mods.fml.common.event.FMLPreInitializationEvent event) { TutorialMetadata = new BlockTutorialMetadata().setHardness(2.0F).setResistance(10.0F).setStepSound(Block.soundTypeStone).setBlockName("TutorialMetadata"); DoubleSlabTuto = new BlockSlabTutorial(true, Material.rock).setHardness(2.0F).setResistance(10.0F).setStepSound(Block.soundTypeStone).setBlockName("TutorialSlab"); SingleSlabTuto = new BlockSlabTutorial(false, Material.rock).setHardness(2.0F).setResistance(10.0F).setStepSound(Block.soundTypeStone).setBlockName("TutorialSlab"); GameRegistry.registerBlock(DoubleSlabTuto, ItemBlockTutorialSlab.class, "DoubleSlabTuto"); GameRegistry.registerBlock(SingleSlabTuto, ItemBlockTutorialSlab.class, "SingleSlabTuto"); } @EventHandler public void init(FMLInitializationEvent event) { if(event.getSide().isClient()) { FMLCommonHandler.instance().bus().register(this); } } //@SubscribeEvent @SideOnly(Side.CLIENT) public void onTick(TickEvent.ClientTickEvent event) { Minecraft mc = FMLClientHandler.instance().getClient(); if(mc.currentScreen != null && mc.currentScreen.getClass().equals(GuiMainMenu.class)) { mc.displayGuiScreen(new CustomMainMenu()); } } }
ItemBlockTutorialSlab :
package com.example.examplemod; import net.minecraft.block.Block; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.item.ItemBlock; import net.minecraft.item.ItemStack; import net.minecraft.util.IIcon; import net.minecraft.world.World; import cpw.mods.fml.relauncher.Side; import cpw.mods.fml.relauncher.SideOnly; public class ItemBlockTutorialSlab extends ItemBlock { private final boolean isFullBlock; private final Block theHalfSlab; private final Block doubleSlab; public ItemBlockTutorialSlab(Block block) { super(block); this.theHalfSlab = ExampleMod.SingleSlabTuto; this.doubleSlab = ExampleMod.DoubleSlabTuto; if(block == ExampleMod.DoubleSlabTuto) { this.isFullBlock = true; } else { this.isFullBlock = false; } this.setMaxDamage(0); this.setHasSubtypes(true); } @SideOnly(Side.CLIENT) public IIcon getIconFromDamage(int metadata) { return this.field_150939_a.getIcon(2, metadata); } public int getMetadata(int metadata) { return metadata; } public String getUnlocalizedName(ItemStack stack) { return ((BlockSlabTutorial)theHalfSlab).func_150002_b(stack.getItemDamage()); } public boolean onItemUse(ItemStack stack, EntityPlayer player, World world, int x, int y, int z, int side, float par8, float par9, float par10) { if(this.isFullBlock) { return super.onItemUse(stack, player, world, x, y, z, side, par8, par9, par10); } else if(stack.stackSize == 0) { return false; } else if(!player.canPlayerEdit(x, y, z, side, stack)) { return false; } else { Block i1 = world.getBlock(x, y, z); int j1 = world.getBlockMetadata(x, y, z); int k1 = j1 & 7; boolean flag = (j1 & 8) != 0; if((side == 1 && !flag || side == 0 && flag) && i1 == this.theHalfSlab && k1 == stack.getItemDamage()) { if(world.checkNoEntityCollision(this.doubleSlab.getCollisionBoundingBoxFromPool(world, x, y, z)) && world.setBlock(x, y, z, this.doubleSlab, k1, 3)) { world.playSoundEffect((double)((float)x + 0.5F), (double)((float)y + 0.5F), (double)((float)z + 0.5F), this.doubleSlab.stepSound.getStepResourcePath(), (this.doubleSlab.stepSound.getVolume() + 1.0F) / 2.0F, this.doubleSlab.stepSound.getPitch() * 0.8F); –stack.stackSize; } return true; } else { return this.placeDoubleSlabFromTop(stack, player, world, x, y, z, side) ? true : super.onItemUse(stack, player, world, x, y, z, side, par8, par9, par10); } } } @SideOnly(Side.CLIENT) public boolean func_150936_a(World world, int x, int y, int z, int side, EntityPlayer player, ItemStack stack) { int i1 = x; int j1 = y; int k1 = z; Block id = world.getBlock(x, y, z); int meta = world.getBlockMetadata(x, y, z); int j2 = meta & 7; boolean flag = (meta & 8) != 0; if((side == 1 && !flag || side == 0 && flag) && id == this.theHalfSlab && j2 == stack.getItemDamage()) { return true; } else { if(side == 0) { --y; } if(side == 1) { ++y; } if(side == 2) { --z; } if(side == 3) { ++z; } if(side == 4) { --x; } if(side == 5) { ++x; } id = world.getBlock(x, y, z); meta = world.getBlockMetadata(x, y, z); j2 = meta & 7; flag = (meta & 8) != 0; return id == this.theHalfSlab && j2 == stack.getItemDamage() ? true : super.func_150936_a(world, i1, j1, k1, side, player, stack); } } private boolean placeDoubleSlabFromTop(ItemStack stack, EntityPlayer player, World world, int x, int y, int z, int side) { if(side == 0) { --y; } if(side == 1) { ++y; } if(side == 2) { --z; } if(side == 3) { ++z; } if(side == 4) { --x; } if(side == 5) { ++x; } Block i1 = world.getBlock(x, y, z); int j1 = world.getBlockMetadata(x, y, z); int k1 = j1 & 7; if(i1 == this.theHalfSlab && k1 == stack.getItemDamage()) { if(world.checkNoEntityCollision(this.doubleSlab.getCollisionBoundingBoxFromPool(world, x, y, z)) && world.setBlock(x, y, z, this.doubleSlab, k1, 3)) { world.playSoundEffect((double)((float)x + 0.5F), (double)((float)y + 0.5F), (double)((float)z + 0.5F), this.doubleSlab.stepSound.getStepResourcePath(), (this.doubleSlab.stepSound.getVolume() + 1.0F) / 2.0F, this.doubleSlab.stepSound.getPitch() * 0.8F); --stack.stackSize; } return true; } else { return false; } } }
BlockSlabTutorial :
package com.example.examplemod; import java.util.List; import java.util.Random; import net.minecraft.block.Block; import net.minecraft.block.BlockSlab; import net.minecraft.block.material.Material; import net.minecraft.creativetab.CreativeTabs; import net.minecraft.init.Blocks; import net.minecraft.item.Item; import net.minecraft.item.ItemStack; import net.minecraft.util.IIcon; import net.minecraft.world.World; import cpw.mods.fml.relauncher.Side; import cpw.mods.fml.relauncher.SideOnly; public class BlockSlabTutorial extends BlockSlab { public static final String[] StepTypes = new String[] {"tuto", "tutometa1", "diamond", "gold", "iron"}; public BlockSlabTutorial(boolean isdouble, Material material) { super(isdouble, material); //this.setCreativeTab(ExampleMod.TutorialCreativeTabs); if(!this.field_150004_a) { this.setLightOpacity(0); } } @SideOnly(Side.CLIENT) public IIcon getIcon(int side, int metadata) { int k = metadata & 7; return k == 0 ? ExampleMod.BlockTutorial.getBlockTextureFromSide(side) : k == 1 ? ExampleMod.TutorialMetadata.getIcon(side, 0) : k == 2 ? Blocks.diamond_block.getBlockTextureFromSide(side) : k == 3 ? Blocks.gold_block.getBlockTextureFromSide(side) : Blocks.iron_block.getBlockTextureFromSide(side); } @SideOnly(Side.CLIENT) private static boolean func_150003_a(Block block) { return block == ExampleMod.SingleSlabTuto; } @SideOnly(Side.CLIENT) public Item getItem(World p_149694_1_, int p_149694_2_, int p_149694_3_, int p_149694_4_) { return func_150003_a(this) ? Item.getItemFromBlock(ExampleMod.SingleSlabTuto) : Item.getItemFromBlock(ExampleMod.DoubleSlabTuto); } public Item getItemDropped(int metadata, Random rand, int fortune) { return Item.getItemFromBlock(Blocks.stone_slab); } protected ItemStack createStackedBlock(int metadata) { return new ItemStack(ExampleMod.SingleSlabTuto, 2, metadata & 7); } @SideOnly(Side.CLIENT) public void getSubBlocks(Item item, CreativeTabs creativeTabs, List list) { if(item != Item.getItemFromBlock(ExampleMod.DoubleSlabTuto)) { for(int i = 0; i < StepTypes.length; i++) { list.add(new ItemStack(item, 1, i)); } } } @Override public String func_150002_b(int metadata) { if(metadata < 0 || metadata >= StepTypes.length) { metadata = 0; } return super.getUnlocalizedName() + "." + StepTypes[metadata]; } }
Si vous voulez plus de classe dîte le moi et merci de votre aide.
-
@SideOnly(Side.CLIENT)
public IIcon getIcon(int side, int metadata)
{
int k = metadata & 7;
return k == 0 ? ExampleMod.BlockTutorial.getBlockTextureFromSide(side) : k == 1 ? ExampleMod.TutorialMetadata.getIcon(side, 0) : k == 2 ? Blocks.diamond_block.getBlockTextureFromSide(side) : k == 3 ? Blocks.gold_block.getBlockTextureFromSide(side) : Blocks.iron_block.getBlockTextureFromSide(side);
}
Tu essayes de get la texture d’un bloc null. -
Je vient de chnager en SingleSlabTuto ou DoubleSlabTuto, mais maintenant sa utilise trop cette fonction ou alors sa ne l’exécute pas (je crois c’est une StackOverflowError) l’erreur :
–-- Minecraft Crash Report ---- // But it works on my machine. Time: 25/08/15 16:43 Description: Rendering item java.lang.StackOverflowError: Rendering item at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) at net.minecraft.block.Block.getBlockTextureFromSide(Block.java:686) at com.example.examplemod.BlockSlabTutorial.getIcon(BlockSlabTutorial.java:36) ... ... -- Item being rendered -- Details: Item Type: com.example.examplemod.ItemBlockTutorialSlab@7a59780b Item Aux: 0 Item NBT: null Item Foil: false Stacktrace: at net.minecraft.client.renderer.entity.RenderItem.renderItemAndEffectIntoGUI(RenderItem.java:591) at net.minecraft.client.gui.GuiIngame.renderInventorySlot(GuiIngame.java:973) at net.minecraftforge.client.GuiIngameForge.renderHotbar(GuiIngameForge.java:209) at net.minecraftforge.client.GuiIngameForge.renderGameOverlay(GuiIngameForge.java:144) at net.minecraft.client.renderer.EntityRenderer.updateCameraAndRender(EntityRenderer.java:1114) at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1067) at net.minecraft.client.Minecraft.run(Minecraft.java:962) at net.minecraft.client.main.Main.main(Main.java:164) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) at net.minecraft.launchwrapper.Launch.main(Launch.java:28) at net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source) at GradleStart.main(Unknown Source) -- Affected level -- Details: Level name: MpServer All players: 1 total; [EntityClientPlayerMP['Player412'/373, l='MpServer', x=131,50, y=65,62, z=243,50]] Chunk stats: MultiplayerChunkCache: 0, 0 Level seed: 0 Level generator: ID 00 - default, ver 1\. Features enabled: false Level generator options: Level spawn location: World: (126,64,246), Chunk: (at 14,4,6 in 7,15; contains blocks 112,0,240 to 127,255,255), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511) Level time: 2565 game time, 2565 day time Level dimension: 0 Level storage version: 0x00000 - Unknown? Level weather: Rain time: 0 (now: false), thunder time: 0 (now: false) Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: false Forced entities: 1 total; [EntityClientPlayerMP['Player412'/373, l='MpServer', x=131,50, y=65,62, z=243,50]] Retry entities: 0 total; [] Server brand: fml,forge Server type: Integrated singleplayer server – System Details -- Details: Minecraft Version: 1.7.10 Operating System: Windows 8.1 (amd64) version 6.3 Java Version: 1.8.0_60, Oracle Corporation Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 797544536 bytes (760 MB) / 1038876672 bytes (990 MB) up to 1038876672 bytes (990 MB) JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used IntCache: cache: 0, tcache: 0, allocated: 12, tallocated: 94 FML: MCP v9.05 FML v7.10.99.99 Minecraft Forge 10.13.4.1448 4 mods loaded, 4 mods active States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored UCHIJAAAA mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) UCHIJAAAA FML{7.10.99.99} [Forge Mod Loader] (forgeSrc-1.7.10-10.13.4.1448-1.7.10.jar) UCHIJAAAA Forge{10.13.4.1448} [Minecraft Forge] (forgeSrc-1.7.10-10.13.4.1448-1.7.10.jar) UCHIJAAAA GuiCustom{1.0} [GuiCustom] (bin) GL info: ' Vendor: 'NVIDIA Corporation' Version: '4.5.0 NVIDIA 355.60' Renderer: 'GeForce GTX 750 Ti/PCIe/SSE2' Launched Version: 1.7.10 LWJGL: 2.9.1 OpenGL: GeForce GTX 750 Ti/PCIe/SSE2 GL version 4.5.0 NVIDIA 355.60, NVIDIA Corporation GL Caps: Using GL 1.3 multitexturing. Using framebuffer objects because OpenGL 3.0 is supported and separate blending is supported. Anisotropic filtering is supported and maximum anisotropy is 16. Shaders are available because OpenGL 2.1 is supported. Is Modded: Definitely; Client brand changed to 'fml,forge' Type: Client (map_client.txt) Resource Packs: [] Current Language: English (US) Profiler Position: N/A (disabled) Vec3 Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used Anisotropic Filtering: Off (1)
Il me semble que sa vient que la texture n’est pas chargé et sa mais toujours sa :
[16:07:40] [Client thread/ERROR] [TEXTURE ERRORS]: +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+= [16:07:40] [Client thread/ERROR] [TEXTURE ERRORS]: The following texture errors were found. [16:07:40] [Client thread/ERROR] [TEXTURE ERRORS]: ================================================== [16:07:40] [Client thread/ERROR] [TEXTURE ERRORS]: DOMAIN minecraft [16:07:40] [Client thread/ERROR] [TEXTURE ERRORS]: –------------------------------------------------ [16:07:40] [Client thread/ERROR] [TEXTURE ERRORS]: domain minecraft is missing 2 textures [16:07:40] [Client thread/ERROR] [TEXTURE ERRORS]: domain minecraft has 3 locations: [16:07:40] [Client thread/ERROR] [TEXTURE ERRORS]: unknown resourcepack type net.minecraft.client.resources.DefaultResourcePack : Default [16:07:40] [Client thread/ERROR] [TEXTURE ERRORS]: mod FML resources at C:\Users\ph1823 - Minecraft\.gradle\caches\minecraft\net\minecraftforge\forge\1.7.10-10.13.4.1448-1.7.10\forgeSrc-1.7.10-10.13.4.1448-1.7.10.jar [16:07:40] [Client thread/ERROR] [TEXTURE ERRORS]: mod Forge resources at C:\Users\ph1823 - Minecraft\.gradle\caches\minecraft\net\minecraftforge\forge\1.7.10-10.13.4.1448-1.7.10\forgeSrc-1.7.10-10.13.4.1448-1.7.10.jar [16:07:40] [Client thread/ERROR] [TEXTURE ERRORS]: –----------------------- [16:07:40] [Client thread/ERROR] [TEXTURE ERRORS]: The missing resources for domain minecraft are: [16:07:40] [Client thread/ERROR] [TEXTURE ERRORS]: textures/blocks/MISSING_ICON_BLOCK_165_TutorialSlab.png [16:07:40] [Client thread/ERROR] [TEXTURE ERRORS]: textures/blocks/MISSING_ICON_BLOCK_166_TutorialSlab.png [16:07:40] [Client thread/ERROR] [TEXTURE ERRORS]: –----------------------- [16:07:40] [Client thread/ERROR] [TEXTURE ERRORS]: No other errors exist for domain minecraft [16:07:40] [Client thread/ERROR] [TEXTURE ERRORS]: ================================================== [16:07:40] [Client thread/ERROR] [TEXTURE ERRORS]: +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
Je crois que c’est le nom de mon .png qui est mal écrit mais je ne sais pas qu’elle nom luis donnée si c’est SingleSlabTuto ou alors DoubleSlabTuto. Merci de vos réponse.
-
Relis le tutoriel car tu n’as pas compris comment fonctionne la fonction getIcon
-
Oui, merci enfait il fallait mettre le registericon dans la classe de la dalle merci infiniment.