Answers for "creating new tile entity minecraft"

0

creating new tile entity minecraft

@SubscribeEvent
public static void registerTE(RegistryEvent.Register<TileEntityType<?>> evt) {
  TileEntityType<?> type = TileEntityType.Builder.of(factory, validBlocks).build(null);
  type.setRegistryName("mymod", "myte");
  evt.getRegistry().register(type);
}
Posted by: Guest on July-29-2021

Browse Popular Code Answers by Language