Jump to content

Cant get sky with sun and clouds in new Dimension?


Luke6905

Recommended Posts

Super new to modding and just playing around with creating new dimensions but cant seem to a proper sky with sun, moon and cloud. Only showing plain sky with fog color. Even tried strtaight up duplicating the overworld but still with no successany. No idea what I'm missing?

 

public class PurgatoryModDimension extends ModDimension {
    @Override
    public BiFunction<World, DimensionType, ? extends Dimension> getFactory() {
        return PurgatoryDimension::new;
    }
}
      
 ///////////////////////////////////////////////////////////////////////////////////////    
public class PurgatoryDimension extends OverworldDimension {

    public PurgatoryDimension(World world, DimensionType dimType) {
        super(world, dimType);

    }
  
  	@Override
    public boolean isSurfaceWorld() {
        return false;
    }
  
}


\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
@Mod.EventBusSubscriber(modid= LukesMod.MOD_ID, bus= Mod.EventBusSubscriber.Bus.FORGE)
public class ForgeEventBusSubscriber {

    @SubscribeEvent
    public static void registerDimensions(final RegisterDimensionsEvent event){
        if(DimensionType.byName(LukesMod.PURGATORY_DIM_TYPE) == null)
        {
            DimensionManager.registerDimension(LukesMod.PURGATORY_DIM_TYPE, RegistryHandler.PURGATORY_DIM.get(), null , true);
        }
    }
}

 

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.