
HassanS6000
Members-
Posts
56 -
Joined
-
Last visited
Everything posted by HassanS6000
-
Hey, I was wondering if there was any way to check where an IMessage is sent from? That way I can filter out an IMessage sent from a certain mod to my SimpleNetworkWrapper? Is there an event or something I can use? Thanks, Hassan
-
@jabelar @elix Thanks for the suggestions, but neither helped.
-
No, that's not why. I showed my proxy class whose methods are called by my main class. My main class is the one with the @EventHandler annotations.
-
Hi! Basically, I want to replace snow and ice so they do not melt, and use the substitution alias system to avoid using ASM. I have replaced the ItemBlock and Block here: https://gist.github.com/hsyyid/ae6e14b6128f5aee27d8 but to no avail. Instead of replacing the snow and the ice, it appears that the ItemBlock does nothing when right clicked, and the snow and ice items DO NOT have textures anymore. Any and all help would be greatly appreciated!
-
Figured it out with help from IRC, it was because my inventory was null in my TileEntity
-
First off, don't just thank fry, thank shadekiller666 as well (he wrote the loader). Where exactly are you registering your custom model resource location? In your Main class or in a proxy? What is the unlocalized name of the item "Usp"? Do you have your blockstate for the item in the correct area? You need to give more info.
-
I'm trying to create a GUI for a TileEntity on Minecraft 1.8. Basically I want to be able to put in a single book that has been written in, otherwise open the book inside. I am stuck with the GUI allowing you to enter the book. However, I keep getting an Null Pointer Exception from the Slot class: http://pastebin.com/tDE1wAwP My code: Container: http://pastebin.com/9R5MrmG5 Gui: http://pastebin.com/YdCg8wtN Gui Handler: http://pastebin.com/tDwbBj41 Block: http://pastebin.com/UKtR0WtT Any ideas and help would be greatly appreciated!
-
I can't do what is done in RenderFallingBlock... it causes my game to crash because I can't pass in a block state... as I'm not rendering a block, rather an entity. Here is my class: http://pastebin.com/b8TNAVZf What are ModelLoaderRegistry, and ICustomModelLoader. In this forum posting: http://www.minecraftforge.net/forum/index.php?topic=27505.0 it says the new ModelLoaderRegistry is a "replacement for IAdvancedModelLoader"
-
I'm not sure I understand what you mean exactly. I want to use a .obj or .b3d model for my entity and some items. How would registering my model and making a ModelResourceLocation make it render? I've already loaded my model into an IModel, but I want that IModel to render now. How do I do that??? ModelBakeEvent requires the following parameters ModelManager, IRegistry and ModelLoader, and B3DLoader.instance doesn't work for a ModelLoader..