Posted December 18, 20204 yr Hello there, I'm adding a custom wall to my mod as my first block, as I thought it'd be very easy and quick to do. I was wrong. Essentially, everything works fine, but my wall needs to be in the minecraft:walls group tag. But I cannot make it work. { "values":[ "azure:stone_wall" ] } This is part of my mod, but it doesn't seem to affect the actual block below: public static final RegistryObject<Block> STONE_WALL = BLOCKS.register("stone_wall", () -> new WallBlock(WallBlock.Properties.create(Material.ROCK).harvestTool(ToolType.PICKAXE).harvestLevel(0).sound(SoundType.STONE).hardnessAndResistance(2.0F, 30.0F))); public static final RegistryObject<Item> STONE_WALL_ITEM = ITEMS.register("stone_wall", () -> new BlockItem(STONE_WALL.get(), new Item.Properties().group(Azure.TAB))); Am I doing something wrong?
December 18, 20204 yr 20 minutes ago, MaxAnimator said: Am I doing something wrong? That depends on what you expect the outcome to be. What is your expected end result? What is the exact issue you are facing? Edited December 18, 20204 yr by ChampionAsh5357
December 18, 20204 yr Author 3 minutes ago, ChampionAsh5357 said: That depends on what you expect the outcome to be. What is your expected end result? What is the exact issue you are facing? I want my stone_wall block to be part of the minecraft:walls group tag. The exact issue is that the block is still not part of the group tag.
December 18, 20204 yr 1 minute ago, MaxAnimator said: The exact issue is that the block is still not part of the group tag. How are you verifying that? Is the wall not connecting to other walls?
December 18, 20204 yr Author 11 minutes ago, ChampionAsh5357 said: How are you verifying that? Is the wall not connecting to other walls? Oh sorry I forgot to give information on what's happening in game. The wall isn't connecting to other walls of the same type(e.g. stone wall not connecting to stone wall) and it tries to connect to vanilla walls, but the vanilla walls don't connect to the stone walls. You can also see that the stone walls don't have the #minecraft:walls group tag as the cobblestone walls and other vanilla walls do. Edited December 18, 20204 yr by MaxAnimator precision
December 18, 20204 yr 6 minutes ago, MaxAnimator said: You can also see that the stone walls don't have the #minecraft:walls group tag as the cobblestone walls and other vanilla walls do. That's quite strange as the modded wall is trying to connect to the vanilla ones but not vice versa. There are two issues I can think of. First, the name of the wall block is wrong, most likely in the namespace. Second, the file is not being built by the test compiler, in which case you can try to edit the file and resave it.
December 18, 20204 yr Author 2 minutes ago, diesieben07 said: Please post a Git repository of your mod. Ill try to make one as I have never used git before...
December 18, 20204 yr Author Hello again, I have finally managed to make a git repo, here it is! https://github.com/MaxAnimator/Azure
December 18, 20204 yr Author 3 minutes ago, diesieben07 said: Cannot reproduce: You used the exact same code? Then why isn't mine working? That makes no sense
December 18, 20204 yr Author 2 minutes ago, diesieben07 said: I cloned your repository. No idea why it is not working for you, something is broken about your workspace. Try and clean the build folder. I just want to point out the fact that my .gradle and build folder are orange-red, is this normal? Are they broken? And I also have this whenever I hit the run button Edited December 18, 20204 yr by MaxAnimator
December 20, 20204 yr Author Nevermind IntelliJ or my workspace seemed to be the problem. I switched to eclipse with a fresh workspace and it works just fine now.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.