Advertisement
Guest User

Untitled

a guest
Jul 7th, 2020
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. public class ModContainerTypes {
  2.  
  3. public static final DeferredRegister<ContainerType<?>> CONTAINER_TYPES = new DeferredRegister<>(
  4. ForgeRegistries.CONTAINERS, Charms.CHARMS);
  5.  
  6. public static final RegistryObject<ContainerType<CharmBagContainer>> CHARM_BAG = CONTAINER_TYPES
  7. .register("example_chest", () -> IForgeContainerType.create(CharmBagContainer::new));
  8. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement