Everything posted by Animefan8888
-
[1.10.2] I can't start my mod! Please help me!
You need hasTileEntity(IBlockState) in order for your block to have a TileEntity
-
[1.10.2] I can't start my mod! Please help me!
Step through your code in the debugger, I am not sure what is happening.
-
[1.10.2] I can't start my mod! Please help me!
My bad I missed the updated 13 minutes ago between all of the updated 3 hours ago. This line is your problem it should be !world.isRemote
-
[1.12.2] Individual Instances of Items
Use an ItemStack capability, there will only ever be one Item instance of all items, however there can/will be multiple ItemStack instances.
-
[1.10.2] I can't start my mod! Please help me!
I asked if you would put your crash report in a spoiler block. Also push your updated code to github.
-
[1.10.2] I can't start my mod! Please help me!
Is it the same crash? Post the new crash and please use a spoiler tag it looks like "
-
Block hitbox made of several parts possible?
Override collisionRayTrace in your block class and call Block#rayTrace until either you have gone through all of your collision boxes or the RayTraceResult has your block.
-
[1.10.2] I can't start my mod! Please help me!
This line needs to be both on the client and server.
-
[1.10.2] I can't start my mod! Please help me!
No clue. Why not put it all on github?
-
Mods working with singleplayer, not with multiplayer
I believe you need to run the forge-1.12.2-(numbers)universal.jar
-
Mods working with singleplayer, not with multiplayer
How are you running the server?
-
Mods working with singleplayer, not with multiplayer
Either the server doesn't have the mods or you don't have the mods, are the mods in both mods folders?
-
[1.12.2] Rendering Custom Throwable Entity Crashes Minecraft
It's an improper way of doing things, and it was never the proper way if doing it. The forge devs are hoping to, by using the registry events allow mod loading and unloading during runtime. Define a variety of modders? YouTube tutorials are not really the best because they dont always do it properly.
-
[1.12.2] Rendering Custom Throwable Entity Crashes Minecraft
When you register your renderer you are passed a RenderManager as a parameter so use it. Also dont register things in preInit there are events for registration now. You can read about them on the forge docs.
-
How can I stop local server time out when debugging?
Do you mean you are running it as a LAN server?
-
[1.12.2] delaying syncing of tile entity to client
Here is an example, it is at the bottom of the class.
-
[1.12.2] delaying syncing of tile entity to client
I don't think you need to send a custom packet. You should just override the default sync methods in the TileEntity class. But if this is what you need to do send a packet from the client to the server from onLoad and then send a packet back syncing the TE.
-
[1.12.2]How to sync WorldSavedData
Should be Minecraft.getMinecraft().addScheduledTask
-
[1.12.2]How to sync WorldSavedData
When you send data to the client you must use Minecraft.getMInecraft().addScheduledTask
-
Custom GUI show when world is created [Solved]
Create a capability that simply stores a boolean of hasConnected or whatever and in the EntityJoinWorldEvent check that capability and if it is false then open a gui via EntityPlayer#openGui
-
[1.12.2]How to sync WorldSavedData
Depends on what you are saving, it might be more efficient to sync the data as primitives. IE ByteBuf#writeInt or ByteBuf#writeShort. You will need to have a packet either way.
-
Suggestion for a few small changes
It could, but why you can do a simple addition yourself. I meant why do you need the health prior to the last damage. I'm not sure I understand why you are going about doing this. What is causing a problem about the vanilla implementation.
-
Annotation not allowed here in @SidedProxy
Instead use an interface called IProxy, the idea of a CommonProxy is illogical. Your "CommonProxy" is your @Mod class.
-
[1.12.2] Custom status/potion-like effects not bound to any potions?
You just need to create and register a PotionEffect instance via the Registry Event Register<PotionEffect>
-
Game Crashes
1.7.10 isn't supported on this forum anymore, update if you wish to receive assistance.
IPS spam blocked by CleanTalk.