-
Posts
6157 -
Joined
-
Last visited
-
Days Won
59
Everything posted by Animefan8888
-
(Forge API for 1.12.2) Remove lakes in specific biome
Animefan8888 replied to Valoeghese's topic in Modder Support
Is this your own custom Biome or a vanilla Biome? -
How to make a block drop different items with different amount
Animefan8888 replied to SaltStation's topic in Modder Support
Override the getDrops method in your block class and add the ItemStacks you want to be dropped to the List passed in as the parameter. -
How to make a block drop different items with different amount
Animefan8888 replied to SaltStation's topic in Modder Support
What version are you modding for? -
getClassFromName().entrySet VS ENTITIES.getEntries()
Animefan8888 replied to HarroldSaxon's topic in Modder Support
Step through the code in the debugger. -
Custom Containers that can generate with Loot?
Animefan8888 replied to TurtleBoy's topic in Modder Support
Make a Block Make a TileEntity Give Block TileEntity Spawn Block in world with tileentity that has its contents determined via loot table. -
Help with rendering a .obj file to use as an item model
Animefan8888 replied to The_Basset_Hound's topic in Modder Support
What he means by this is, try to append .obj to the end of your path in the model resource location. -
Help with rendering a .obj file to use as an item model
Animefan8888 replied to The_Basset_Hound's topic in Modder Support
? -
1.12.2 How to make durability loss after crafting?
Animefan8888 replied to RoCoKo's topic in Modder Support
As stated above, but use the Item#getContainerItem(ItemStack) version. And return a cloned ItemStack with its damage increased. -
No.
-
Oh, well then no you cant use it. I didnt know if it was protected or not.
-
No
-
Change this to IBlockState state. Then for the I'd do Block.getStateID(state) The only other thing you need to do after changing those things is spawn the particle in the world.
-
Using a pool might be a good optimization later. But I don't see a reason for your Vec3 class to store doubles. The values dont ever seem to have decimals.
-
Maybe not sure. Well in 1.7.10 it was Vec3.createVectorHelper however this doesn't appear to exist in 1.12.2. Maybe it isn't used anymore. What are you using it for?
-
He was registering them in a different way than you were. If you register an instance of the class they can't be static, but if you register the class itself or use the @EventBusSubscriber on the top of the class then the methods must be static.
-
[1.12.2] ObjectHolder Not Populating Fields
Animefan8888 replied to unassigned's topic in Modder Support
If you put the annotation on the class the field name must match the registry name. IE if the registry name is "block_test" the field name needs to be block_test or BLOCK_TEST. -
No not really, its not that performance intensive to do.
-
Sadly not without ray tracing yourself.
-
A door is actually too blocks(states). Also we cant help you if you dont post your code, preferably on git or some other code sharing site.
-
You dont have your modid here so it will look under assets/minecraft/... to fix this do modid:fileName Second problem is it needs to be all lowercase.
-
This is not what this forum is for. This is a round about way of asking us to write your mod for you. If you need ideas go to a different sub forum or the minecraft forums. If you need a list of Gems ask google.