Class TrainMapRenderer.TrainMapInstance

java.lang.Object
com.simibubi.create.compat.trainmap.TrainMapRenderer.TrainMapInstance
All Implemented Interfaces:
AutoCloseable
Enclosing class:
TrainMapRenderer

public class TrainMapRenderer.TrainMapInstance extends Object implements AutoCloseable
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    net.minecraft.resources.ResourceLocation
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    TrainMapInstance(net.createmod.catnip.data.Couple<Integer> sectionKey)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    canBeSkipped(net.minecraft.client.renderer.Rect2i bounds)
     
    void
     
    void
    draw(com.mojang.blaze3d.vertex.PoseStack pPoseStack, net.minecraft.client.renderer.MultiBufferSource pBufferSource, boolean linearFiltering)
     
    com.mojang.blaze3d.platform.NativeImage
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • location

      public net.minecraft.resources.ResourceLocation location
  • Constructor Details

    • TrainMapInstance

      public TrainMapInstance(net.createmod.catnip.data.Couple<Integer> sectionKey)
  • Method Details

    • canBeSkipped

      public boolean canBeSkipped(net.minecraft.client.renderer.Rect2i bounds)
    • getImage

      public com.mojang.blaze3d.platform.NativeImage getImage()
    • draw

      public void draw(com.mojang.blaze3d.vertex.PoseStack pPoseStack, net.minecraft.client.renderer.MultiBufferSource pBufferSource, boolean linearFiltering)
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable