Everything posted by Animefan8888
-
[1.10.2] Any idea how I would go about creating a custom book?
Make a book, make a gui. Make right click open the gui. Finally add content ie pages to the gui.
-
[1.11] [solved] Casting Capabilities.
You created your own Provider and did not post the class.
-
How to add food (1.10.2)
Well I'm new to java so I just added this to my ItemGooseberry, but it creates an error public class ItemGoosberry extends ItemFood { Learn Java then come back, we are not here to teach Java.
-
[1.11] Problem With Sending Info to TEs
Forge provides a Energy Capability you just need to override getCapability and hasCapability in your TE. This is also what you should be doing for inventories using the IItemHandler capability. Look at the forge docs http://mcforge.readthedocs.io/en/latest/datastorage/capabilities/
-
[1.11] NBT does not save upon rebooting the game.
First update tick if you need to access the blocks/other TEs otherwise onLoad() is what you should use.
-
[1.10.2]GuiContainer: draw texture in foreground of an item in slot
You will have to draw something to the screen over it.
-
[1.10.2]TileEntity not Working properly (page 2)
You are greatly overusing super calls in your update methods ie getUpdateTag. I cant see anything that wont let it read and write, is writeToNBT and readFromNBT even getting called?
-
I wanna override Cauldron and add TE but piston won't push TE. thoughts?
Yours still wont be pushable, but i think you are okay with that.
-
[1.10.2]TileEntity not Working properly (page 2)
Please dont do that. Did you override writeToNBT and readFromNBT in your TE?
-
I wanna override Cauldron and add TE but piston won't push TE. thoughts?
TEs cant be pushed by pistons there is a way around this you could override the piston using the substitution system, but i am not sure how minecraft would handle that. Capabilities as far as i know cant be applied to blocks yet, and even if they could you would not be able to save any data.
-
[1.8.9] Entity rendering problem
Define render issues.
-
[1.10.2] Particle Wings
OpenGL is the rendering engine of Minecraft any type of rendering you do eventually traces back to OpenGL. There is a simple way to do rotations GLStateManager.rotate (angle, x, y, x). Honestly the easiest way would be to guess and check until you get the rotations correct, and i believe you can get the players rotation, but you may need reflection.
-
[1.11] Blocks dont load
You also need to register an ItemBlock item for your blocks.
-
I enter in my world, but it closes immediately
What is this line BlockMysteriumPortal.java 230
-
[1.10.2] Rendering after a join of the world
- ---- SOLVED ------ Problem with programming 2 different Armor (Chestplates)
This is not allowed public static ArmorMaterial jetpackArmorMaterial = EnumHelper.addArmorMaterial("jetpackArmorMaterial", "..", 64, new int[] {6}, 1); It has to be the full length IE 4 numbers.- [1.10.2][SOLVED] Inexplicable problem with basic item rendering...
Switch your parent to "item/generated" and get rid of your display, thirdperson, and firstperson tags.- [1.10.2] Rendering after a join of the world
No not specifically GLStateManager.translate(x, y, z), but GLStatemanager.translate(where on the x, where on the y, where on the z). They can be decimals to center it in the block.- ---- SOLVED ------ Problem with programming 2 different Armor (Chestplates)
Post your main mod class where you initialize you items.- [1.10.2] Rendering after a join of the world
Call GLStateManager.translate(x, y, z) again to correct its position based on your metadata.- [1.11] Custom fire not working right
It is getting called on both client and server side.- [SOLVED][1.10.2] Mapping Block to its Textures
Do not know where the textures are actually stored, but they are loaded at runtime, so if you trace the rendering of a block back far enough you are sure to find the textures themselves, but you may need to use reflection to get them.- [1.11] Detecting & Generating
Quick question I have seen you do this but what do the "::" mean is it the same as using "#"? That is pretty much what it means. The :: is actually an operator added in Java 8 to reference methods so they can be used for various things e.g. passing a Function as a parameter of a method. Probably not the best explanation, but this is what I know of them. Ahh and then that prompted me to look up lambda expressions which are pretty cool. (Been meaning to do that for a while now though). Thanks.- [SOLVED] [1.10.2] Cannot get capability to work
Make your IThirst#getThirstier and IThirst#slakeThirst take in a player so it can send the packet.- [1.11] Detecting & Generating
Quick question I have seen you do this but what do the "::" mean is it the same as using "#"? - ---- SOLVED ------ Problem with programming 2 different Armor (Chestplates)
IPS spam blocked by CleanTalk.
Important Information
By using this site, you agree to our Terms of Use.