Jump to content

[SOLVED!] [1.15.2] - Custom Walls Aren't Connecting to each other


Recommended Posts

Posted (edited)

Hello, I am attempting to create a custom wall type for my mod. The model and blockstates work however, they do not connect to each other. They do connect to other valid blocks, including ones from my mod. I've looked it over, and I'm not quite sure where I'm going wrong.

 

My block register in my ModBlocks class (VoidaicBlocks)

    public static final RegistryObject<Block> VOIDSTONE_WALL = BLOCKS.register("voidstone_wall", () -> new WallBlock(Block.Properties.from(VoidaicBlocks.VOIDSTONE.get())));

 

 

My walls.json tag in data/modid/tags/block

{
  "replace": false,
  "values": [
    "voidaicearth:voidstone_wall"
  ]
}

 

Attached is how they currently work in-game:

2020-04-20_18.13.31.png

Edited by ModMCdl
the problem was solved

Follow these rules when talking to me, and we'll get along fine.

1).I know Java fairly well. I don't know as much about modding. They are not the same, don't compare them.

2). I consider myself to always be learning. I make mistakes, you make mistakes. Who doesn't?

3). Insult me, and I will leave the thread. I have a real life, I don't have time to throw petty insults in a Minecraft Modding forum.

 

ModMCdl - Co-Founder and Director of Design for Artemis Game Studios

Posted (edited)
  On 4/20/2020 at 10:40 PM, Ugdhar said:

I believe you need to put your walls.json in data/minecraft/tags/blocks

Expand  

The "replace": value in the vanilla default walls.json file is false, so it should recognize my own tag file over its own. It also won't let me add/edit files in the minecraft jar either way.

Edited by ModMCdl

Follow these rules when talking to me, and we'll get along fine.

1).I know Java fairly well. I don't know as much about modding. They are not the same, don't compare them.

2). I consider myself to always be learning. I make mistakes, you make mistakes. Who doesn't?

3). Insult me, and I will leave the thread. I have a real life, I don't have time to throw petty insults in a Minecraft Modding forum.

 

ModMCdl - Co-Founder and Director of Design for Artemis Game Studios

Posted (edited)

In your development environment, /data/minecraft/tags/blocks add your walls AND what minecraft has in their JSON. I had a similar problem and, this fixed it.

Edited by MadHatAK
  • Thanks 1
Posted
  On 4/20/2020 at 10:45 PM, ModMCdl said:

The "replace": value in the vanilla default walls.json file is false, so it should recognize my own tag file over its own. It also won't let me add/edit files in the minecraft jar either way.

Expand  

MadHatAK is correct that you create data/minecraft/tags/blocks in your resources folder and add it there.

That's how datapacks override vanilla stuff.

Making a walls tag in your mod just creates your own walls tag with only your walls in it.

  • Thanks 1
Posted
  On 4/20/2020 at 10:52 PM, MadHatAK said:

In your development environment, /data/minecraft/tags/blocks add your walls AND what minecraft has in their JSON. I had a similar problem and, this fixed it.

Expand  

 

  On 4/20/2020 at 10:56 PM, Ugdhar said:

MadHatAK is correct that you create data/minecraft/tags/blocks in your resources folder and add it there.

That's how datapacks override vanilla stuff.

Making a walls tag in your mod just creates your own walls tag with only your walls in it.

Expand  

Aha, so this worked! Now my only concern is that if another mod has a walls.json tag, if they use this same method will it override my own, since my "replace": tag is also false? Or am I safe?

Follow these rules when talking to me, and we'll get along fine.

1).I know Java fairly well. I don't know as much about modding. They are not the same, don't compare them.

2). I consider myself to always be learning. I make mistakes, you make mistakes. Who doesn't?

3). Insult me, and I will leave the thread. I have a real life, I don't have time to throw petty insults in a Minecraft Modding forum.

 

ModMCdl - Co-Founder and Director of Design for Artemis Game Studios

Posted
  On 4/20/2020 at 11:17 PM, Ugdhar said:

As far as I know unless things start setting replace to true everything should play nice

Expand  

Awesome thanks!

Follow these rules when talking to me, and we'll get along fine.

1).I know Java fairly well. I don't know as much about modding. They are not the same, don't compare them.

2). I consider myself to always be learning. I make mistakes, you make mistakes. Who doesn't?

3). Insult me, and I will leave the thread. I have a real life, I don't have time to throw petty insults in a Minecraft Modding forum.

 

ModMCdl - Co-Founder and Director of Design for Artemis Game Studios

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • Alright, here is the log file https://mclo.gs/5eCwafV
    • Please read the FAQ (https://forums.minecraftforge.net/topic/125488-rules-and-frequently-asked-questions-faq/) and post log files as described there, using a site such as https://mclo.gs/ and post the link here.  
    • I tried updating the mods in my modpack which caused incompatibilities so i have tried to revert them back to their older versions i was using before. In the logs it doesnt show me any clear incompatibilities except for tfmg & entity texture features, but when i try to remove those it still doesn't work. I have tried removing the forge-client.toml file which was a suggestion i found on  a few other posts. This is the log file i get. [inline log removed] Any help would be appreciated. Thanks in advance
    • I don't use KubeJS, never even heard of it. But after doing what "Ugdhar" suggested earlier in this post with the "config/Mekanism/generator-storage.toml", I tried going into an individual save's serverconfig folder, and just deleting everything except the parcool folder (I have that mod installed.) Then, a bit of loading and temporary freezing later, seems to have worked. Even when quitting to menu and loading back in, or also when quitting to menu, exiting to desktop, and re-launching MC, choose a save and loading it.
    • [Mekanism] Broken tags in Mekanism recipes detected, please check server logs for details. You will be missing some recipes and machines may not accept expected inputs. Do you use KubeJS? It is some kind of bug with it and not fixed A workaround is setting "allowAsyncStreams" to false in the KubeJS common config file https://github.com/KubeJS-Mods/KubeJS/issues/1016   For the rest of your issues, keep deleting these files - now it is the jei-server.toml file If the file is not in config, check the worldsave serverconfig folder These files usually break after updating mods, game crashes or force closing the game    
  • Topics

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.