Class RenderTileEntityPokeStop

java.lang.Object
com.pixelmonmod.pixelmon.client.render.tileEntities.TileEntityRenderer<PokeStopTileEntity>
com.pixelmonmod.pixelmon.client.render.tileEntities.RenderTileEntityPokeStop
All Implemented Interfaces:
net.minecraft.client.renderer.blockentity.BlockEntityRenderer<PokeStopTileEntity>, net.neoforged.neoforge.client.extensions.IBlockEntityRendererExtension<PokeStopTileEntity>

public class RenderTileEntityPokeStop extends TileEntityRenderer<PokeStopTileEntity>
  • Constructor Details

    • RenderTileEntityPokeStop

      public RenderTileEntityPokeStop(net.minecraft.client.renderer.blockentity.BlockEntityRendererProvider.Context dispatcher)
  • Method Details

    • render

      public void render(PokeStopTileEntity pokestop, net.minecraft.world.level.block.state.BlockState state, double x, double y, double z, float partialTicks, com.mojang.blaze3d.vertex.PoseStack matrix, net.minecraft.client.renderer.MultiBufferSource buffer, int combinedLight, int combinedOverlay)
      Specified by:
      render in class TileEntityRenderer<PokeStopTileEntity>
    • getViewDistance

      public int getViewDistance()
    • getRenderBoundingBox

      public net.minecraft.world.phys.AABB getRenderBoundingBox(PokeStopTileEntity blockEntity)
    • getRotation

      protected int getRotation(net.minecraft.world.level.block.state.BlockState state)
      Overrides:
      getRotation in class TileEntityRenderer<PokeStopTileEntity>