Everything posted by Animefan8888
-
[1.10.2] Custom Entity's GUI
Ok, that is fine then you should know what a NullPointerException is. Look at the crash report where the error is printed it will be towards the bottom. It will point you towards the line that is making the error.
-
[1.10.2] Custom Entity's GUI
What is your experience level with Java?
-
[1.12] (Solved) My List won't save after I exit the world and rejoin
I'm not sure I have not moved on to 1.12 yet, it could be and if so... You can read up on Capabilities here.
-
[1.12] (Solved) My List won't save after I exit the world and rejoin
If you do not know much Java then I suggest you learn before continuing, and if you do this could be really easy. You have to save the contents of your List to the Drive of your computer. Whether this is in a text file or an NBT file. You will want to use the WorldSavedData along with some events to read and write the data.
-
[1.10.2] Custom Entity's GUI
Then do you have permission to use their code?
-
[1.10.2] Custom Entity's GUI
Did you change any code in your Gui at all?
-
[1.10.2] Custom Entity's GUI
What is line 73 of your Gui now?
-
[1.10.2] Custom Entity's GUI
The null variable is "sneakysal". Gui#initGui is called in the Gui classes constructor which gets called before your constructor and therefore it is not initialized. To fix this you can add a != null check and call Gui#initGui in your Guis constructor.
-
[1.10.2] Custom Entity's GUI
What is line 72?
-
[1.10.2] Custom Entity's GUI
Something is null on line 72 of your Gui.
-
[1.12] Add custom nbt tags to vanilla mobs.
Use a Entity Capability see here EntityOcelot.isTamed() Just cancel the event. Subscribe to the RenderLivingEvent(s) cancel the Pre event and Render your new Model in the Post event. At least I believe that is the way to do it.
-
[1.12] Nbt Crafting
You will need to make a custom IRecipe implementation. You should look at the ItemArmor for how the LeatherArmor texture works.
-
[1.12] Multiblock Tile Entitties
Sadly you cannot place a TileEntity on a vanilla block that doesn't already have a TileEntity. But you can store a Map of BlockPos as the Key and a List of BlockPos as the value and cross reference the lists contained in the Map in the PlayerInteractEvent.RightClickBlock. And if it is in a List perform the action you want for the TileEntity at the key BlockPos.
-
[1.11.2] (UNSOLVED) Anyone know to give a weapon custom damage?
What do you mean custom damage type?
-
[Solved] First Subitem in a block have no Inventory Render
Don't use the ItemModelMesher instead use ModelLoader.setCustomModelResourceLocation, and call in in preInit or the ModelRegistryEvent.
-
[Solved] First Subitem in a block have no Inventory Render
Then the problem could still be the Item Model for metadata 1. Also we can't help without any code or the models, if we tried it would be a bunch of shots in the dark.
-
[Solved] First Subitem in a block have no Inventory Render
Do you have an Item model for it?
-
[1.12] How to get crafting result from a custom crafting table?
Yes they will be craftable as long as they are not bigger than a 3x3.
-
Finding forced chunk generation
Any accessing of a Block or TileEntity will require a world to load the chunk.
-
[1.12] Block Variant Inventory Display Issue
I'm sorry I just don't see the problem if it isn't solved by the time I get back on I will take another look, but for now I am off to bed.
-
[1.12] Block Variant Inventory Display Issue
Are you doing it in the right class?
-
[1.12] Tile entity doesn't save itemstacks
Why did you quote me?
-
[1.12] Block Variant Inventory Display Issue
And you are sure your breakpoint is below the line where you change the sound type?
-
[1.12] Block Variant Inventory Display Issue
Try "blockSoundType = SoundType.CLOTH" instead of setSoundType and your breakpoint is not after you call setSoundType could you move it down a line.
-
[1.12] Hopper and custom container.
You are gonna want to check the facing value in hasCapability and getCapability and if it is anything, but null say you don't have it or it doesn't exist.
IPS spam blocked by CleanTalk.