Class TileEntityType.Builder<T extends TileEntity>

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.util.function.Supplier<? extends T> factory  
      private java.util.Set<Block> validBlocks  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private Builder​(java.util.function.Supplier<? extends T> p_i51498_1_, java.util.Set<Block> p_i51498_2_)  
    • Field Detail

      • factory

        private final java.util.function.Supplier<? extends T extends TileEntity> factory
      • validBlocks

        private final java.util.Set<Block> validBlocks
    • Constructor Detail

      • Builder

        private Builder​(java.util.function.Supplier<? extends T> p_i51498_1_,
                        java.util.Set<Block> p_i51498_2_)