-
Posts
687 -
Joined
-
Last visited
-
Days Won
10
Everything posted by Beethoven92
-
if (e != null) return; Whats the point of this line? Also, which forge version are you using?
-
I guess what you want is your item to look oriented as, for example, a vanilla stick when in hand? Then you can go with: "parent": "minecraft:item/handheld" which comes with all the right values already set. If then you want to adjust the orientation to suit your needs, use the handheld item as a template and tweak the values.
-
This ^^ kinda..if you mod requires world generation related things you should just stick to 1.16.1 at the moment
-
[1.15.2] NoSuchMethodError when testing on server
Beethoven92 replied to PianoManu's topic in Modder Support
Why you use this to get and itemStack? ItemStack itemstack1 = blockState.getBlock().asItem().getDefaultInstance(); //<---- THAT IS WHERE I GET THE ERROR I think you just need to create an ItemStack with new ItemStack(blockstate.getBlock().asItem()) -
Mmmm that may be a difficult thing to do, it depends on when you want to know that information...during world generation or (example) when you right click with a custom item?
-
You see there is a " ; " right after: public enum ModArmorMaterial implements IArmorMaterial { that is a sintax error and needs to be removed.
-
You're welcome...Does it work correctly now?
-
Well, you have to bind an entity to its renderer. You have to do this in your client setup event with RenderingRegistry#registerEntityRenderingHandler
-
You forgot to register your entity renderer
-
Registry name for ender chest is minecraft:ender_chest
-
Sorry if this is a stupid question with an obvious answer, but why don't you just use vanilla sponges to clear the water while you build your base?
-
Ok, maybe i got the behaviour of the block you need wrong..let me understand. For example, you have a 3x3 room enclosed by blocks and filled with water. Then you replace one of the blocks at the bottom of your enclosed room with a drain block. After that the water above the drain block start disappearing from the top layer to the bottom one. Is that the behaviour you had in mind?
-
So you mean something that acts like a vanilla sponge block? I don't know if a mod that specifically adds a water drain exists, but such a mod would be actually very easy to make, you could even write it yourself
-
Well, then you are making an item that remotely opens an ender chest, which is...kinda completely different from what you asked in the beginning, as you don't have a money bag item, but rather a wireless controller that opens a private storage which is accessible also in other ways 😁 ..but if you are pleased with that i won't judge, though i hope you will come back to the code i linked when you have a bit more knowledge about Java and minecraft, so you can understand which is the right approach to this problem.
-
Just make questions, and we'll give you an answer if we are able...all right, aren't you understanding a single line of the code? If thats the case i would like to ask how well you know Java, because believe me, trying to mod minecraft without knowing Java is a huuuge pain. If you instead don't understand concepts behind the code, or its workflow, this is where you should ask for help
-
Need Help -- Changing Item Texture like Compass
Beethoven92 replied to BigNerd's topic in Modder Support
I think you need to use item property overrides, and take a look at vanilla compass jsons -
Its full of explanations for almost every method and class..also the workflow of the whole code is described below the code files in the page i linked...so you have created your item, but you need a container to store things in it, and a gui to interact with it. What the code does is exactly that..it creates an item, it creates a container for the item and an associated container screen (your gui), then it gives the item the possibility to access the container and store items within it. Of course the code that does that is a bit long and complicated, but you really need to read it carefully and try to understand it, then ask questions about specific things of the code. You don't expect someone on this forum to write the code for you right?
-
In that code there is literally everything you need to achieve your goal. You just need to ask question on the things you don't understand
-
You need more memory yes, pixelmon is quite heavy
-
What don't you understand? Have you tried writing some code?
-
Lol
-
Sure, but almost everything is already explained on the code i post the link for, i suggest to study it a bit before making another post
-
This example is perfect for what you are about to do, take a look: https://github.com/TheGreyGhost/MinecraftByExample/tree/1-15-2-working/src/main/java/minecraftbyexample/mbe32_inventory_item
-
https://docs.google.com/spreadsheets/d/14knNUYjYkKkGpW9VTyjtlhaCTUsPWRJ91GLOFX2d23Q/edit#gid=807882818
-
[1.14.4]How to render a box(x, y, z) near a block
Beethoven92 replied to dyno's topic in Modder Support
Well, at the moment there is nothing in your TER render code that tells the game to render something. Thats why i suggested you to look at how the beacon renderer draw the beam, you just need to copy that code. Also in the link to the example mod i posted earlier (in the TER class) there is code that draws a geometrical form on the screen. Take a better look at the code and see if you can figure it out and adapt to your needs