
AurenX
Members-
Content Count
4 -
Joined
-
Last visited
Community Reputation
1 NeutralAbout AurenX
-
Rank
Tree Puncher
-
[SOLVED] Modifying / Replacing Vanilla Blocks (1.16.X)
AurenX replied to Wintersky20's topic in Modder Support
Note: I am using registry events instead of deferred registry so if someone chimes in on a difference that works better than listen to them. this method still works so i am yet to be motivated to change. I am able to replace blocks using the RegistryEvent.Register<Block>. I get the old resource location ForgeRegistries.BLOCKS.getKey(oldBlock); and set the custom block with that blocks registry location newBlock.setRegistryName(resourceLocation); ForgeRegistries.BLOCKS.register(newBlock); I also replace the Item (again i dont know if this is still needed as doing so still works so i have yet to change it) -
Started to update my mod to 1.16.4 and i hit a roadblock. I started my mod in 1.12 and lost my computer so my work halted, But what i had working was overriding the nether generation and putting overworld generation on top essentially replacing the bedrock layer with layers that would have hills, lava lakes, lava rivers, trees, etc...; added biomes so there would some variation. At that time i had to create a world provider and chunk generator and replace the nether world provider. Obviously this has changed to the new json format What i have working is the dimension json and the dimension type json (tested with a new dimension and then overriding the default nether), can add biomes to it. My question is with this new json system it appears the chunk generator is called from the json nether being (multi_noise). Am i going down the wrong path here or what are the proper steps. What is recommended here?
-
I figured it out. i was registering my event bus incorrectly...
-
AurenX started following [1.15.2] Mount Event not working (Solved)
-
Am i missing something here? I am trying to stop the player from dismounting a minecart but this doesnt seem to fire. Is their a different event i should be using? This one doesnt seem to apply to boats or horses either.