• Recently Browsing

    No registered users viewing this page.

  • Posts

    • Look at vanilla for examples.
    • I'm using 1.16.1-32.0.25 (as it's the version listed as compatible with the latest optifine) and so far it runs fine, right until I try and pull something out of a crafting table. This isn't because of any mods I use because I tested it only running optifine (which works like a charm on its own) and it still crashed the same way. I would look into the report myself but apparently I'm not as good at reading code as I thought I was "^^   Couldn't figure out how to make a spoiler so have a pastebin with the full report: https://pastebin.com/qhsZBn5B   I hope this is in concordance with the rules and I'm really sorry if it isn't!
    • So far, I'm having problems with what arguments I put in for  Builder.create and for new EntityBlockRenderer package me.cirex.fluidships.registry; import me.cirex.fluidships.FluidShips; import me.cirex.fluidships.block.InvisibleBlock; import me.cirex.fluidships.entity.EntityBlock; import me.cirex.fluidships.entity.renderer.EntityBlockRenderer; import net.minecraft.block.Block; import net.minecraft.client.Minecraft; import net.minecraft.entity.EntityClassification; import net.minecraft.entity.EntityType; import net.minecraft.tileentity.TileEntity; import net.minecraft.tileentity.TileEntityType; import net.minecraft.util.ResourceLocation; import net.minecraftforge.event.RegistryEvent; import net.minecraftforge.eventbus.api.SubscribeEvent; import net.minecraftforge.fml.client.registry.RenderingRegistry; import net.minecraftforge.fml.common.Mod; import net.minecraftforge.fml.event.lifecycle.FMLClientSetupEvent; @Mod.EventBusSubscriber(bus = Mod.EventBusSubscriber.Bus.MOD) public class ShipRegistry {     public static TileEntityType<?> BLOCK_TILE_ENTITY;     @SubscribeEvent     public void onBlockRegistry(final RegistryEvent.Register<Block> event) {     }     @SubscribeEvent     public void onEntityTypeRegistry(final RegistryEvent.Register<TileEntityType<?>> event) {         BLOCK_TILE_ENTITY = TileEntityType.Builder.create(null, null).build(null);         event.getRegistry().register(BLOCK_TILE_ENTITY);     }     public void registerRenderer() {         RenderingRegistry.registerEntityRenderingHandler(BLOCK_TILE_ENTITY, new EntityBlockRenderer());     }     public void onClientSetup(final FMLClientSetupEvent event) {         registerRenderer();     } }   package me.cirex.fluidships.registry; import me.cirex.fluidships.FluidShips; import me.cirex.fluidships.block.InvisibleBlock; import me.cirex.fluidships.entity.EntityBlock; import me.cirex.fluidships.entity.renderer.EntityBlockRenderer; import net.minecraft.block.Block; import net.minecraft.client.Minecraft; import net.minecraft.entity.EntityClassification; import net.minecraft.entity.EntityType; import net.minecraft.tileentity.TileEntity; import net.minecraft.tileentity.TileEntityType; import net.minecraft.util.ResourceLocation; import net.minecraftforge.event.RegistryEvent; import net.minecraftforge.eventbus.api.SubscribeEvent; import net.minecraftforge.fml.client.registry.RenderingRegistry; import net.minecraftforge.fml.common.Mod; import net.minecraftforge.fml.event.lifecycle.FMLClientSetupEvent; @Mod.EventBusSubscriber(bus = Mod.EventBusSubscriber.Bus.MOD) public class ShipRegistry { public static TileEntityType<?> BLOCK_TILE_ENTITY; @SubscribeEvent public void onBlockRegistry(final RegistryEvent.Register<Block> event) { } @SubscribeEvent public void onEntityTypeRegistry(final RegistryEvent.Register<TileEntityType<?>> event) { BLOCK_TILE_ENTITY = TileEntityType.Builder.create(null, null).build(null); event.getRegistry().register(BLOCK_TILE_ENTITY); } public void registerRenderer() { RenderingRegistry.registerEntityRenderingHandler(BLOCK_TILE_ENTITY, new EntityBlockRenderer()); } public void onClientSetup(final FMLClientSetupEvent event) { registerRenderer(); } }  
    • I think you need a custom Teleporter class. Been a while since I looked into it, but I recall that if you don't have one, vanilla is like "oh you changed dimensions, lemme just build a nether portal for you..."
  • Topics

  • Who's Online (See full list)