Everything posted by coolboy4531
-
[1.6.4] World Gen chance?
Maybe I'm confused - I'm still not exactly sure what you're doing. EDIT: Oh... are you saying that it generates 3-4 structures right next to each other - when it generates?
-
World Generation help
You could use ChunkDataEvent.Load getting the data of the chunk at (x, z) -- also checking if its null before proceeding. This could cause issues with - whatever you are using - because it requires the chunk to be loaded.
-
[1.6.4] World Gen chance?
You do know how to make a loop right?
-
Custom TNT not showing up
Have you realized like in: void doRender() - inside RenderFreeTNTPrimed - you are using EntityPrimedTNT as the instance, instead of your TNT?
-
[1.6.4] Load a chunk or World that the player is not in
Create a fake entity.
-
[1.7.2]Access Transformer not working
Give us the full crash report, please.
-
Could some please explain what is going on here?
The BlockBounds is to set how to get the hitboxes, like wheat its different from regular blocks. The update tick checks (each tick) for valid light - so it can grow, and checks if the crop metadata is 7, if it is (then it will become harvest-able)
-
World Generation help
Haven't messed around with chunks. It could be that the chunk you are trying to "remove" blocks in, hasn't been "generated". Still really not sure, I'll check around and see if I can help you. Good luck
-
[1.7.2][SOLVED]Problems with Dimensions
Error is at: Caused by: java.lang.NullPointerException at net.dimensionshift.mod.world.dimensions.ChunkProviderDimenisonShift.provideChunk(ChunkProviderDimenisonShift.java:79) ~[ChunkProviderDimenisonShift.class:?] at net.minecraft.world.gen.ChunkProviderServer.loadChunk(ChunkProviderServer.java:133) ~[ChunkProviderServer.class:?] It's still null. Not sure. Have you tried @Override -ing it?
-
[1.7.2] Can't find Minecraft's native packages/classes in Eclipse
Referenced Libraries. I find the imports (I use) in the minecraftforge jar (if I remember correctly)
-
How to get the coordinates of a block the player is looking at
Let me see your codes for now, as I made this using Forge 10.12.0.997. Use the Declaration method in your IDE for information.
-
Can't figure out why it's crashing
We need dem codez
-
How to get the coordinates of a block the player is looking at
50 is equal to 50D it is just 50 doubles. I don't know, why don't you try Twinklez's method, by sending an object. Have you even checked that you are looking at a block? You could however send a MovingObjectPosition and get the coordinates of what it hits, whilst checking if it hits a block. Psuedo code - open by Twinklez -- you can remove the print statements. https://gist.github.com/Twinklez/9905161
-
[1.7.2] Want to make a book for my mod's information ingame
Make a custom GUI.
-
[1.6.4] Random Jumps to custom mob
Try looking at EntitySpider. They attack the player by jumping at them.
-
How to get the coordinates of a block the player is looking at
Don't know if this would work, but I had this problem too. Try multiplying each vector by 50D.
-
Random crash when crafting.
It says its a FileNotFoundException.
-
Mod Options
They are still working on creating an actual function for it, don't worry about it -- as there is no use for it.
-
[1.7.2] New biome generate in new dimension
You don't use IDs in 1.7. They were REMOVED, now IDs do nothing.
-
Block emits signal when next to another block (1.6.4)
Is that not enough?
-
[1.7.2] New biome generate in new dimension
My bad, it was confusing (I read it incorrectly) let me see what I can find.
-
Mob textures not working
Also, put your coding in spoilers, or other things.
-
[1.7.2][SOLVED]Problems with Dimensions
Uh oh. @Override public Chunk provideChunk(int var1, int var2) { // TODO Auto-generated method stub return null; }
-
[1.6.4] 3 Questions about custom mobs (2 SOLVED)
You need to add an AI to attack the player, check the vanilla mobs that attack you (EntityZombie, EntitySpider). The most common AI used for attacking the player is (EntityAIAttackOnCollide), you can figure out the fields if you use your sources correctly.
-
Replace item class
If you're advanced in Java -- you should try ASM (bytecode manipulation).
IPS spam blocked by CleanTalk.