Class TrainHatInfoProvider

java.lang.Object
com.simibubi.create.api.data.TrainHatInfoProvider
All Implemented Interfaces:
net.minecraft.data.DataProvider
Direct Known Subclasses:
VanillaHatOffsetGenerator

public abstract class TrainHatInfoProvider extends Object implements net.minecraft.data.DataProvider
  • Nested Class Summary

    Nested classes/interfaces inherited from interface net.minecraft.data.DataProvider

    net.minecraft.data.DataProvider.Factory<T extends net.minecraft.data.DataProvider>
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected final Map<net.minecraft.resources.ResourceLocation,TrainHatInfo>
     

    Fields inherited from interface net.minecraft.data.DataProvider

    FIXED_ORDER_FIELDS, INDENT_WIDTH, KEY_COMPARATOR, LOGGER
  • Constructor Summary

    Constructors
    Constructor
    Description
    TrainHatInfoProvider(net.minecraft.data.PackOutput output)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected abstract void
     
     
    protected void
    makeInfoFor(net.minecraft.world.entity.EntityType<?> type, net.minecraft.world.phys.Vec3 offset)
     
    protected void
    makeInfoFor(net.minecraft.world.entity.EntityType<?> type, net.minecraft.world.phys.Vec3 offset, float scale)
     
    protected void
    makeInfoFor(net.minecraft.world.entity.EntityType<?> type, net.minecraft.world.phys.Vec3 offset, String part)
     
    protected void
    makeInfoFor(net.minecraft.world.entity.EntityType<?> type, net.minecraft.world.phys.Vec3 offset, String part, float scale)
     
    protected void
    makeInfoFor(net.minecraft.world.entity.EntityType<?> type, net.minecraft.world.phys.Vec3 offset, String part, int cubeIndex, float scale)
     
    run(net.minecraft.data.CachedOutput output)
     

    Methods inherited from class java.lang.Object

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

    • trainHatOffsets

      protected final Map<net.minecraft.resources.ResourceLocation,TrainHatInfo> trainHatOffsets
  • Constructor Details

    • TrainHatInfoProvider

      public TrainHatInfoProvider(net.minecraft.data.PackOutput output)
  • Method Details

    • createOffsets

      protected abstract void createOffsets()
    • makeInfoFor

      protected void makeInfoFor(net.minecraft.world.entity.EntityType<?> type, net.minecraft.world.phys.Vec3 offset)
    • makeInfoFor

      protected void makeInfoFor(net.minecraft.world.entity.EntityType<?> type, net.minecraft.world.phys.Vec3 offset, String part)
    • makeInfoFor

      protected void makeInfoFor(net.minecraft.world.entity.EntityType<?> type, net.minecraft.world.phys.Vec3 offset, float scale)
    • makeInfoFor

      protected void makeInfoFor(net.minecraft.world.entity.EntityType<?> type, net.minecraft.world.phys.Vec3 offset, String part, float scale)
    • makeInfoFor

      protected void makeInfoFor(net.minecraft.world.entity.EntityType<?> type, net.minecraft.world.phys.Vec3 offset, String part, int cubeIndex, float scale)
    • run

      public CompletableFuture<?> run(net.minecraft.data.CachedOutput output)
      Specified by:
      run in interface net.minecraft.data.DataProvider
    • getName

      public String getName()
      Specified by:
      getName in interface net.minecraft.data.DataProvider