Package com.simibubi.create.api.data
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
FieldsModifier and TypeFieldDescriptionprotected 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 -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract voidgetName()protected voidmakeInfoFor(net.minecraft.world.entity.EntityType<?> type, net.minecraft.world.phys.Vec3 offset) protected voidmakeInfoFor(net.minecraft.world.entity.EntityType<?> type, net.minecraft.world.phys.Vec3 offset, float scale) protected voidmakeInfoFor(net.minecraft.world.entity.EntityType<?> type, net.minecraft.world.phys.Vec3 offset, String part) protected voidmakeInfoFor(net.minecraft.world.entity.EntityType<?> type, net.minecraft.world.phys.Vec3 offset, String part, float scale) protected voidmakeInfoFor(net.minecraft.world.entity.EntityType<?> type, net.minecraft.world.phys.Vec3 offset, String part, int cubeIndex, float scale) run(net.minecraft.data.CachedOutput output)
-
Field Details
-
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
- Specified by:
runin interfacenet.minecraft.data.DataProvider
-
getName
- Specified by:
getNamein interfacenet.minecraft.data.DataProvider
-