
Mightydanp
Members-
Posts
225 -
Joined
-
Last visited
Everything posted by Mightydanp
-
i even use ModelLoader.setCustomModelResourceLocation(Item.getItemFromBlock(block), 0, new ModelResourceLocation(block.getRegistryName(), "inventory"));} still crashed my game
-
register an item for my block ? these are the methods i use http://pastebin.com/TajnQ3TF
-
My block render is acting wierd it gives me this error here are those lines 61 ModelLoader.setCustomModelResourceLocation(Item.getItemFromBlock(block), 0, new ModelResourceLocation(Reference.MODID + ":" + prefixName, "inventory"));
-
True but im not the brightest persion.
-
I looked at it i couldnt really understand. I mean it says use this on this but ot never really gives examples just code fragments
-
i have looked at that before but i couldnt really understand how to get this http://pastebin.com/8zn9bDUN to convert into using Capabilities
-
i loaded it up after fixed some small code and i just made this code so that my eot inventory would work. this error is related to the code
-
i know i do. i was just wondering if ItemEssenceStone::new would affect anything after i build it
-
i used that because i couldnt really figure out a way to register my itemBlock
-
ublic static <BLOCK extends Block> BLOCK registerBlockState(BLOCK block, String prefixName, @Nullable Function<BLOCK, ItemBlock> itemFactory, int numberOfBlockStates, String[] suffixName) { GameRegistry.register(block, new ResourceLocation(References.MODID, prefixName)); if (itemFactory != null) { final ItemBlock itemBlock = itemFactory.apply(block); GameRegistry.register(itemBlock.setRegistryName(block.getRegistryName())); } for (int i=0; i < numberOfBlockStates; i++){ ModelLoader.setCustomModelResourceLocation(Item.getItemFromBlock(block), i, new ModelResourceLocation(References.MODID + ":" + prefixName + "_" + suffixName)); } BLOCKS.add(block); return block; }
-
i decided to update it to 1.10 and everything went away . but i do have a question im using ItemEssenceOre::new and for it to work i have to change the recompile in eclipse to 1.8 or higher i think it was java se or something like that. but will that effect anything ? RegistryHandler.registerBlockState(essenceStone, BlockStrings.ESSENCESTONE_NAME, ItemEssenceOre::new, 5, essenceStoneBlockStates);
-
after i cleaned it i get error like so. if i run minecraft it wont load my mod at all.
-
It doesn't show any errors for me
-
having a small problem did decompileWorkSpace, eclipe in the console whenenver i opened up eclipe and reran mine craft i started to get this error out of nowhere.
-
its a inventory gui. where it loads the players inventory
-
Thanks that helped alot. it doesnt tell me one thing is how do i make a packet that opens a gui. It gives me that basics but it doesnt give me the full story.
-
Is there anyone willing to teach me or give me a link to something that i can use to teach me how to make server and client packets. i have a custom inventory that i want to try to get to work again and the help would be appreciated.
-
[1.9] [Solved] IExtendedEntityProperties in Minecraft 1.9
Mightydanp replied to RainbowLuigi281's topic in Modder Support
what did you get to get it to work -
i fixed it >.> when i saw it was returning ore_string i figured that the state name had to be localized in the same class that is is being called in. such as instead of giving the names to the registryHandler. i let the ModBlocks and items tell the registry handler metadata i = ore_copper... 2=Tin and so and so.
-
i moved ModItems.registerRenderers(); ModBlocks.registerRenderers(); into client proxy preInit and it broke everything but fixed the single items.
-
ModItems.init(); is in pre init. in the public static void init(){} i have RegistryHandler.registerItemWithState( so odelLoader.setCustomModelResourceLocation( is in RegistryHandler.registerItemWithState( which is called in init, which is called in preinit. the renderer is called in my common proxy preinit
-
registryHandler http://pastebin.com/n5HdCLUJ
-
http://pastebin.com/SyjuDGZN
-
http://pastebin.com/KXSmcgrd mod items http://pastebin.com/ZnTaypUt common proxy http://pastebin.com/SyjuDGZN