Jump to content

[ACTUALLY SOLVED] [1.8.9] Trying to override Nether's chunk provider


Recommended Posts

Posted

Does this method exist in ChunkProvider if not I have an older version of 1.8 I'm viewing.

 

 

public List func_177458_a(EnumCreatureType p_177458_1_, BlockPos p_177458_2_);

VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING

I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect.

Forge and vanilla BlockState generator.

Posted

Could I get the crash report?

It's crashing due to the Nether being unregistered after it's being added in Dimension helper. So basically it's crashing because the vanilla Nether hasn't been unregistered yet and it's using the same ID as the new one.

Posted

Does this method exist in ChunkProvider if not I have an older version of 1.8 I'm viewing.

 

 

public List func_177458_a(EnumCreatureType p_177458_1_, BlockPos p_177458_2_);

The method does exist, but it's changed to:

public List<BiomeGenBase.SpawnListEntry> getPossibleCreatures(EnumCreatureType creatureType, BlockPos pos)

Posted
Posted

 

I've attempted to do the same thing, but ObfuscationReflectionHelper and DimensionType don't exist in 1.8.9. Is there some sort of alternative?

Posted

ObfuscationReflectionHelper

definitely exists in 1.8.9.

DimensionType

was added in 1.9, the 1.8.9 equivalent is

DimensionManager#registerProviderType

.

 

Use

BiomeDictionary#registerBiomeType

to register one or more

Type

s for a

BiomeGenBase

.

Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.

Posted

Why are you creating a new instance of

BiomeGenHell

instead of using the existing one stored in

BiomeGenBase#hell

? Looking at

BiomeDictionary

, this is already registered with

Type.NETHER

by default.

Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.

Posted

Why are you creating a new instance of

BiomeGenHell

instead of using the existing one stored in

BiomeGenBase#hell

? Looking at

BiomeDictionary

, this is already registered with

Type.NETHER

by default.

Okay, this fixed the issue. Thanks so much! I also removed the unregisterDimension and registerDimension lines because they were unnecessary.

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



×
×
  • Create New...

Important Information

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