Everything posted by HassanS6000
-
[1.7.10] IMessage Event?
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
-
[1.8] Substitution Alias Not Working
@jabelar @elix Thanks for the suggestions, but neither helped.
-
[1.8] Substitution Alias Not Working
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.
-
[1.8] Substitution Alias Not Working
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!
-
[1.8] [Solved] NPE while Opening GUI
Figured it out with help from IRC, it was because my inventory was null in my TileEntity
-
[1.8]SLOVED-Obj model not load
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.
-
[1.8] [Solved] NPE while Opening GUI
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!
-
How do you render an IModel? (How to Use Forge B3D Model Loader?)
UPDATE No.2 I can get it to render - it's just screwed up. Here's what it's supposed to look like: http://snag.gy/hefWK.jpg Here's what it looks like: http://snag.gy/gqMQ0.jpg Here's my GitHub Repository: https://github.com/hsyyid/HaloMod Any help would be appreciated!
-
How do you render an IModel? (How to Use Forge B3D Model Loader?)
UPDATE! I fixed the crashing issue.. I forgot about worldRenderer.startDrawingQuads() However, I still cannot see my model, as I don't know what to do for addVertex().. am I supposed to use the vertexData?
-
How do you render an IModel? (How to Use Forge B3D Model Loader?)
Thanks Ernio! I'm not so sure what to do from here... It crashes now but I'm 80% sure I'm not using Tessellator correctly.. Crash-Report: http://pastebin.com/nt1gHi87 RenderMongooseEntity Class: http://pastebin.com/XXk6LVSh
-
How do you render an IModel? (How to Use Forge B3D Model Loader?)
Alright I've used ModelBakeEvent to get my IBakedModel. Now, how would I do worldrenderer.addVertexData(); from there? I can get a list of all the quads from my IBakedModel, but that does not return a list of int's - I think..
-
How do you render an IModel? (How to Use Forge B3D Model Loader?)
LOL... I was being so stupid!! Thanks for your help!
-
How do you render an IModel? (How to Use Forge B3D Model Loader?)
Yes I do. I can't use the event because I can't pass in any of the parameters.
-
How do you render an IModel? (How to Use Forge B3D Model Loader?)
How? I can't use ModelBakeEvent because I don't know any of the parameters.. ModelManager, ModelLoader, and IRegistry
-
How do you render an IModel? (How to Use Forge B3D Model Loader?)
Thanks! How would I actually use that in my class? I had a link to a paste-bin copy of it above. I don't have an IBakedModel - I have an IModel.
-
How do you render an IModel? (How to Use Forge B3D Model Loader?)
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"
-
How do you render an IModel? (How to Use Forge B3D Model Loader?)
OK. How would I go about actually rendering it, if I can't bake my model?
-
How do you render an IModel? (How to Use Forge B3D Model Loader?)
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..
-
How do you render an IModel? (How to Use Forge B3D Model Loader?)
What am I supposed to do then? I have a model and want to render it..
-
How do you render an IModel? (How to Use Forge B3D Model Loader?)
Alright I've gotten pretty far from what you've given me so far. Still don't know what to put in for the actual model.bake() parameters. The VertexFormat, and the bakedTextureGetter.
-
How do you render an IModel? (How to Use Forge B3D Model Loader?)
Are you sure? The BlockModelRenderer may work but I'm not sure what to put for all the parameters. Such as VertexFormat, bakedTextureGetter, blockPosIn, worldRendererIn, blockAccessIn, and blockStateIn.
-
How do you render an IModel? (How to Use Forge B3D Model Loader?)
There was a IModelCustom class which had a render method... was there any replacement of that in 1.8?
-
How do you render an IModel? (How to Use Forge B3D Model Loader?)
Okay I got my entity with the B3D Model. I have an IModel - which doesn't have a render method... what do I do now?
-
How do you render an IModel? (How to Use Forge B3D Model Loader?)
It's a format for 3D Models that Forge started supporting after 1.8 was released.
-
How do you render an IModel? (How to Use Forge B3D Model Loader?)
Not working for my item.. just getting purple and black squares..
IPS spam blocked by CleanTalk.