Everything posted by Animefan8888
-
Draw GUI problem
When do you update energyDP?
-
1.11 No Code errors, but crash on start up (thrownentity) (-slvd fix pg2)
Here is a hint if you do not know how to create an instance of a class: look at the classes constructor.
-
1.11 No Code errors, but crash on start up (thrownentity) (-slvd fix pg2)
I don't know how man! "like for items and blocks." I feel like bashing my head as hard as I can into this keyboard atm. register(new ResourceLocation(modid, name), EntitySphere.class, "sphere");
-
[1.10.2] Looking for an adjacent block.
You override getWorld() remove that function from your class and add the functionality to update.
-
1.11 No Code errors, but crash on start up (thrownentity) (-slvd fix pg2)
Can you give me an example of this, please? initialize the Exampled.rsrcl I feel bad for asking :\ rsrcl = new ResourceLocation(modid, name);
-
[1.10.2] Looking for an adjacent block.
Don't override getWorld()...
-
[1.10.2] Looking for an adjacent block.
Don't override getWorld(), for this you want to use update.
-
[1.10.2] Looking for an adjacent block.
That depends why are you checking for adjacent blocks?
-
[1.10.2] Looking for an adjacent block.
Yes
-
[1.10.2] Looking for an adjacent block.
worldObj.getBlockState(BlockPos).getBlock()
-
(SOLVED)[1.10.2] GUIs not working
You only need one GuiHandler...
-
[1.10.2] Server Crash?
Post your ClientProxy, ServerProxy, and your Reference class
-
[Solved] [1.11] GUI Drawing confusion
Your receiveEnergy is where the energy gets changed. I thought it might be and did try but that didnt change anything so i thought it must be another way of doing it There are two other methods I forgot to say getUpdateTag, and handleUpdateTag. Those were recently brought to my attention.
-
[Solved] [1.11] GUI Drawing confusion
Your receiveEnergy is where the energy gets changed.
-
Item Textures JSON loaction issue
Is it under the assets/modid/models/item folder? Because it doesn't show that.
-
Item Textures JSON loaction issue
Show the entire explorer in your IDE.
-
Item Textures JSON loaction issue
Post new log. And your item json.
-
[Solved] [1.11] GUI Drawing confusion
Data ie the energy.
-
Item Textures JSON loaction issue
All file names should be lowercase. If you are using 1.11 they have to be in 1.10.2 they do not, but since it is being enforced in 1.11 best to start doing it now. The file it is looking for is ingotcopper not ingotCopper.
-
[1.10] A few tick rate questions
No he was saying you edit base classes then submit the change to forge ie you actually go into a .java file and edit the code to call an event. Hence the ForgeHooks call he was talking about. NEVER a coremod
-
[1.10.2] Custom Fluid Crash
Does your fluid have a ItemBlock for it? I don't think so you are trying to add a renderer for a ItemBlock that doesn't exist. Don't call registerRenderer for fluids because that is for items.
-
[Solved] [1.11] GUI Drawing confusion
Looks correct except for this int xCoord = this.pos.getX(); int yCoord = this.pos.getY(); int zCoord = this.pos.getZ(); They serve no purpose. Removed, it still doesnt fix the problem though When your data changes call markDirty();
-
Teleporting a Player Every Second.
Events are registered with MinecraftForge.EVENT_BUS.register() now no matter which one, and yes it does matter if you use Minecraft instance because that is a client side class.
-
[Solved] [1.11] GUI Drawing confusion
Looks correct except for this int xCoord = this.pos.getX(); int yCoord = this.pos.getY(); int zCoord = this.pos.getZ(); They serve no purpose.
-
[1.10] A few tick rate questions
This is not what we reccomended, making coremods is not supported by forge.
IPS spam blocked by CleanTalk.