-
CustomTileEntityRenderer texture problem
Also, the resource location in the atlas isn't correct, should be: new ResourceLocation("mohard", "entity/altar_adorn")
-
Trying to make a block that the player can stand in (VoxelShapes)
That is not going to be good for the bottom block (still pretty much a solid cube). The simple way to get that is: private static final VoxelShape INSIDE = makeCuboidShape(2.0D, 2.0D, 0.0D, 14.0D, 16.0D, 14.0D); protected static final VoxelShape SHAPE = VoxelShapes.combineAndSimplify( VoxelShapes.fullCube(), INSIDE, IBooleanFunction.ONLY_FIRST);
-
Trying to make a block that the player can stand in (VoxelShapes)
Your shape is strange, but the top is solid, so you need to open it and make it a little wider so you can fit into. Make the 4th and 5th parameters for INSIDE 14.0D (make wider) and 16.0D (make hole in top). It still is a strange shape.
-
Error when runClient is ran Eclipse IDE
I'm assuming you are past the initial problem, so you need to provide more information.
-
Error when runClient is ran Eclipse IDE
I'm using the latest and works fine when you change the settings, but if you don't like to make those changes then load older version.
-
Error when runClient is ran Eclipse IDE
It says it is running Java 16. You are probably using the newer Eclipse which comes with 16. You need to change setting to point to one of the other versions of Java. Go to Preferences and check you have compiler compliance level set to 1.8, then check/fix Installed JREs and Execution Environment settings.
-
Error when runClient is ran Eclipse IDE
You are using the wrong version of Java, you should use Java 8
-
[1.16.4] Custom obj Block Model's Unusual Brightness
Not sure if they are documented somewhere, but I found these in ObjLoader#read You can find other loaders in ModelLoaderRegistry#init, then follow to their read method for their options.
-
[1.16.4] Custom obj Block Model's Unusual Brightness
I believe one fix would be to add "ambientToFullbright": false, in the obj model json files
-
Silk Touch don't work with Harvest Level
So you tried this? public ObsidianGlass() { super(AbstractBlock.Properties.of(Material.GLASS) .strength(25, 1200) .sound(SoundType.GLASS) .harvestLevel(3) .harvestTool(ToolType.PICKAXE) .requiresCorrectToolForDrops() ); }
-
Silk Touch don't work with Harvest Level
Can you post the line that defines the block?
-
Silk Touch don't work with Harvest Level
nothing, but if you are using the old mappings then the call is setRequiresTool()
-
Silk Touch don't work with Harvest Level
Did you also call requiresCorrectToolForDrops() on the block properties?
-
[1.16.5] Cannot change custom item durability in use()
The new code you posted works, but you are probably in creative mode which restores item damage.
-
[1.16.5] Cannot change custom item durability in use()
you should just apply damage to the current stack instead of creating a new stack (at least the way you are doing it) because you will lose other settings, like enchantments
IPS spam blocked by CleanTalk.