-
Posts
45 -
Joined
-
Last visited
Everything posted by Otis Goodman
-
Ok, nearly working my last problem is when I right click on the book the shout cast's twice.
-
Thanks that helped what is the best way to compare strings and item stacks?
-
The NBT problem is fixed but I have another. I am not sure if my if statement that checks if the player is holding the shout book is working, can someone take a look and correct me if I am wrong. Shout Book Item Class : https://gist.github.com/OtisGoodman/96da24295c450bc02f4d58890ef60faf Shout Set Book Class: https://gist.github.com/OtisGoodman/57480c48b4dc516cb11bf4dad7a353a5
-
ok
-
Your right and I am sorry. I am trying to use ShoutSetBook code to change the NBT of the ShoutBook item so that it runs the shout by right-clicking but, I can't seem to get the shout to cast and I don't know what's wrong. I hope that explains that better.
-
I am trying to make a command thing that edits NBT on an item and changes how the item functions. This is really hard to explain can someone take a look at this? https://gist.github.com/OtisGoodman/96da24295c450bc02f4d58890ef60faf https://gist.github.com/OtisGoodman/57480c48b4dc516cb11bf4dad7a353a5 https://gist.github.com/OtisGoodman/487e771261a107a451c20d97f7712504 https://gist.github.com/OtisGoodman/eededaa5f545629153278e8e58ce3027
-
Where are all the vanilla guis registered?
Otis Goodman replied to Otis Goodman's topic in Modder Support
ok thanks. -
Where are all the vanilla guis registered?
Otis Goodman replied to Otis Goodman's topic in Modder Support
addSlotToContainer and I want to make a slot in order for something to extend slot the slot methods needs and Iinventory too. -
Where are all the vanilla guis registered?
Otis Goodman replied to Otis Goodman's topic in Modder Support
The method -
Where are all the vanilla guis registered?
Otis Goodman replied to Otis Goodman's topic in Modder Support
I was trying custom slots that only fit certain items and it says that requires an IInventory. Is there a better way to do slots that fit sertan items? -
Where are all the vanilla guis registered?
Otis Goodman replied to Otis Goodman's topic in Modder Support
What I am trying to make a gui but I need an Iinvintory when I register it and I am not sure what I should use. so I was wondering where this code is in valnilla src or if it even is there @Override public Object getClientGuiElement(int ID, EntityPlayer player, World world, int x, int y, int z) { if(ID == QCInfo.SMOKERID) return new GuiSmoker(player.inventory, (TileSmoker),INV, world.getTileEntity(new BlockPos(x,y,z))); return null; } -
What class are all the vanilla guis registered?
-
Noob Question: Entity Model Troubles W Server
Otis Goodman replied to Otis Goodman's topic in Modder Support
Got It thx -
is help still required?
-
Where Do I register my entity models so that they work on with a server? I currently have them in the preinit event but that crashes my test server. I have tried doing something like this but it makes the entities look like white soccer pylons when I play on a server. Can I get some help? @SideOnly(Side.CLIENT) public static void clientRegisters (){ RenderHandler.registerEntityRender(); } @Mod.EventHandler public static void preInit(FMLPreInitializationEvent event){ RenderHandler.registerEntityRender(); }
-
also, It could just be that I don't know enough Java but I can't quite seem to get the classes thing to work.
-
so how do I reference the stuff within the other mods using the ModProxyImpl?
-
I did not completely get what he was saying. And had trouble understanding what cadiboo said.
-
like inport classes from the mod
-
Is it pausable to check if a mod is installed if true then import x from other mod?
-
Is there some sort of example for bolth of those?
-
I am trying to do some integration with other mods but I ran into a problem. I don't know how to add integration with a mod without compiling it. What I am trying to do is check if the integrated mod is installed then run code referencing classes from the mod. Can I get some guidance? ~ Otis
-
can you explain further?
-
Does anyone know how to damage an Item instead of consuming it during crafting? Example: IC2 when you craft iron and a hammer you get plates and the hammer gets damaged. Thanks ~ Otis