-
Posts
6157 -
Joined
-
Last visited
-
Days Won
59
Everything posted by Animefan8888
-
You need to run the gradle build command.
-
[1.12.1] Making a mod that notify player when inventory is full
Animefan8888 replied to Gess1t's topic in Modder Support
Yes it is exactly what you want. Just check every slot first. If you need to know if the inventory is empty iterate over the slots and check each slot if you find one that is empty then it is not full. If you make it through all of them and none of them are empty the inventory is full. -
[1.12.1] Making a mod that notify player when inventory is full
Animefan8888 replied to Gess1t's topic in Modder Support
At this point it's simple algorithm. Look through your for loop and see what it does. -
[1.12.1] Making a mod that notify player when inventory is full
Animefan8888 replied to Gess1t's topic in Modder Support
This is never called because you never told forge to look there. You need to register your event. Since it is static you can just add the EventBusSubscriber annotation to the class it's in. -
[1.12.1] Making a mod that notify player when inventory is full
Animefan8888 replied to Gess1t's topic in Modder Support
When this line is called in your Main class constructor the Player doesn't exist. I'm not even sure if Minecraft.getMinecraft() returns a non null value. -
[1.14.4][SOLVED] TileEntity isn't replacing the block placed.
Animefan8888 replied to max2461's topic in Modder Support
I think this is the wrong method use the one that has the BlockState parameter. -
[1.14.3][ANSWERED] Transparent Block shows black
Animefan8888 replied to MrNoodles75's topic in Modder Support
It's called getRenderLayer now, and it is the only thing you have to override. -
The are different. But they do both use the Registry events.
-
[1.14.4] Multi-Block Structures Help
Animefan8888 replied to kinderPipinder's topic in Modder Support
Interface as a gui? One block or different types of blocks? Not sure what this means, How about you give one example of what you are trying to do? Like what will the player do to use your multiblock structure. What will the structure do? -
Try BiomeManager.addBiome or BiomeManager.addSpawnBiome if you want the world spawn to potentially be that biome.
-
Please don't necro old threads. Make your own.
-
(SOLVED) [1.14.4] Surface Ore Generation
Animefan8888 replied to MineModder2000's topic in Modder Support
This is probably not run for all biomes... -
[1.14.4][SOLVED] add item to empty inventory
Animefan8888 replied to andGarrett's topic in Modder Support
Look at the methods inside it there are two I can think of insertItem and extractItem. It isn't. The contents are synced from the IItemHandler when they change if you call detectAndSendChanges(I believe that is what it is called). -
[1.14.4][SOLVED] add item to empty inventory
Animefan8888 replied to andGarrett's topic in Modder Support
Why is this a thing? What if two players open the TE at the same time.... Why not just use the IItemHandler you have directly?... -
This is a modding support forum for mod makers. If you need help with creating loot tables the format is detailed on the minecraft wiki.
-
[1.14.4][SOLVED] add item to empty inventory
Animefan8888 replied to andGarrett's topic in Modder Support
Post all of your code. -
[ANSWERED]Custom Block Model can see through the world
Animefan8888 replied to MrNoodles75's topic in Modder Support
Thanks. Starting out very basic gotta work on those concepts, and how to explain them. -
[ANSWERED]Custom Block Model can see through the world
Animefan8888 replied to MrNoodles75's topic in Modder Support
There is also another method apparently, I'm not sure why Minecraft decided it needed 4 different Shape methods for the Block. You can actually just override getShape and it will be called in all the other shape methods (getCollisionShape, getRenderShape, getRaytraceShape) -
[ANSWERED]Custom Block Model can see through the world
Animefan8888 replied to MrNoodles75's topic in Modder Support
What does this mean? -
[ANSWERED]Custom Block Model can see through the world
Animefan8888 replied to MrNoodles75's topic in Modder Support
You also need to override getRaytraceShape -
[ANSWERED]Custom Block Model can see through the world
Animefan8888 replied to MrNoodles75's topic in Modder Support
Use a different create method then, -
[ANSWERED]Custom Block Model can see through the world
Animefan8888 replied to MrNoodles75's topic in Modder Support
No...why doesn't the internet tell you why the error is caused. I'm kinda disappointed in it. The problem is your method signature is wrong. Look in the Block class and find the method called getCollisionShape -
[ANSWERED]Custom Block Model can see through the world
Animefan8888 replied to MrNoodles75's topic in Modder Support
Check this out. -
[ANSWERED]Custom Block Model can see through the world
Animefan8888 replied to MrNoodles75's topic in Modder Support
That's a Java error not a forge error. Please look it up. If eclipse ever yells at you with a red underline that is a Java error. Don't ask about those here. -
[ANSWERED]Custom Block Model can see through the world
Animefan8888 replied to MrNoodles75's topic in Modder Support
If you do a little looking you'll discover the VoxelShapes class that has the create methods for VoxelShape objects.