Everything posted by Animefan8888
-
Directional blocks redirect uppon entering the world
*Sees no code*
-
[1.12] Add crafting recipes
Make a new thread instead of posting on one that is almost 4 months. Plus the topic of this thread changed from recipes to redstone a while ago.
-
[1.12.2] Help with modifying block drops
You must compare the states. Or the properties of the IBlockState.
-
Can't test my mod - "FML has found a non-mod file jiromod-1.0.jar in your mods directory"
Forge doesnt treat all jar files as mods. For a jar file to be a mod you have to have a class annotated with the @Mod annotation. So therefore no code. No mod.
-
[1.12.2] getMaterial and actual state
Ok, didn't know its call hierarchy, trying to help while I'm away from home.
-
Can't test my mod - "FML has found a non-mod file jiromod-1.0.jar in your mods directory"
That doesnt have any of your code in it.
-
[1.12.2] Help with modifying block drops
Returns an instance of the Block class. Returns an instance of the IBlockState class. A block is never an IBlockState and an IBlockState is never a Block.
-
[1.12.2] getMaterial and actual state
Not exactly, what it looks like you will have to do is. In your TEs class override onLoad and change the blockstate there and tell the client it has changed. Or, and this might be the more elegant solution, maybe override getExtendedState and see if that does what you need to do.
-
zombieDoNotBurnInDaylight event help!
- zombieDoNotBurnInDaylight event help!
- zombieDoNotBurnInDaylight event help!
No that calls the parents version of the method.- zombieDoNotBurnInDaylight event help!
Or he could make an invisible helmet and put it on all zombies if they spawn without one.- What is it and / or when I use metadata?
No, that is not how you will want to do that. If you want to do that you should use capabilities.- What is it and / or when I use metadata?
"a set of data that describes and gives information about other data." When your block or item has extra information that can be specified as an integer. IE BlockStates. Blocks are limited to 16 different combinations while items have a ridiculous upper limit. But these should only be used for similar items or blocks.- Is it possible to develop backwards compatible mods?
When your mod is compiled it doesnt just stay as extends Item or new ItemStack it is translated into the obfuscated names. Which is why using an IDEs built in compiler doesnt work, you have to use gradle.- [1.10.2]I would like to create a teleport block
You will need to find the top block. Hint for loop.- [1.10.2]I would like to create a teleport block
You aren't handling client vs server. You need a !world.isRemote check.- compatibility issue
Use RenderGameOverlayEvent.Text.- Mod Coder Pack - Monitoring chat for certain character/phrase
We dont support jar mods anymore use forge.- Is it possible to develop backwards compatible mods?
@Cadiboo @desht @Zeigfreid You are forgetting about obfuscation of Minecraft classes. In one version the Item class could be called a while in another it could be called b. You can't fix that by creating a wrapper.- Is it possible to develop backwards compatible mods?
No this is impossible. In 1.8 a lot of things changed method names, models, etc. Its basically impossible for mods to be backwards compatible between minecraft versions like 1.10 to 1.11 but 1.11.0 to 1.11.1 would be possible.- [1.10.2]I would like to create a teleport block
Define using it.- Server not starting
Yes you can, you just can't launch an application with both.- Can't set name of planks correctly
The thing is, you cant break the bits up like this. Its non sensical. You have four bits(16 values) if you split the bits up like you said then you have 2 bits or four values to store the variant(oak, birch, etc) and then the other 2 bits for the axis where you only use 3 values out of four. Of which you couldn't use as another variant because then you would lose your axis. So instead it is better to express it in numerical values. Whether it's in base 10, 16, or 2.- Can't set name of planks correctly
Also, you technically only have to use 12 of the sixteen values you have with metadata to store 4 logs. Therefore you could store 5 logs into one block. - zombieDoNotBurnInDaylight event help!
IPS spam blocked by CleanTalk.
Important Information
By using this site, you agree to our Terms of Use.