Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

mcDandy

Members
  • Posts

    13
  • Joined

  • Last visited

Posts posted by mcDandy

  1. only promising is 

          private FillerBlockType(String p_i50618_3_, Predicate<BlockState> p_i50618_4_) {
             this.field_214742_d = p_i50618_3_;
             this.field_214743_e = p_i50618_4_;
          }

    which is not accessible.

    or
     

          public static FillerBlockType create(String enumName, String p_i50618_3_, Predicate<BlockState> p_i50618_4_) {
             throw new IllegalStateException("Enum not extended");
          }

    which is probably only there for erroring out.

  2. try something like this.
     

    @Mod.EventBusSubscriber(modid="yourmodid", bus= Mod.EventBusSubscriber.Bus.FORGE)
    public class EventForge
    {
        public static final ResourceLocation DIMENSION_TYPE_RL = new ResourceLocation("yourmodid", "yourdimension");
    
        @SubscribeEvent
        public static void onRegisterDimensionsEvent(RegisterDimensionsEvent event)
        {
    
            DimensionManager.registerDimension(DIMENSION_TYPE_RL, DIMENSION, null, false);
    
        }
    }

     

×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.