Jump to content

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


Dizzlepop12

Recommended Posts

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.

Link to comment
Share on other sites

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)

Link to comment
Share on other sites

Ok how about we try something, just create a list of your entitys and pass them in there to see if it is getting called.

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.

Link to comment
Share on other sites

Link to comment
Share on other sites

 

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?

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.