Class TrackMaterialFactory
java.lang.Object
com.simibubi.create.content.trains.track.TrackMaterialFactory
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionblock(com.tterrag.registrate.util.nullness.NonNullSupplier<com.tterrag.registrate.util.nullness.NonNullSupplier<? extends TrackBlock>> trackBlock) build()customModels(Supplier<Supplier<dev.engine_room.flywheel.lib.model.baked.PartialModel>> tieModel, Supplier<Supplier<dev.engine_room.flywheel.lib.model.baked.PartialModel>> leftSegmentModel, Supplier<Supplier<dev.engine_room.flywheel.lib.model.baked.PartialModel>> rightSegmentModel) static TrackMaterialFactorymake(net.minecraft.resources.ResourceLocation id) particle(net.minecraft.resources.ResourceLocation particle) rails(net.minecraft.world.item.crafting.Ingredient railsIngredient) rails(net.minecraft.world.level.ItemLike... items) sleeper(net.minecraft.world.item.crafting.Ingredient sleeperIngredient) sleeper(net.minecraft.world.level.ItemLike... items) trackType(TrackMaterial.TrackType trackType)
-
Constructor Details
-
TrackMaterialFactory
public TrackMaterialFactory(net.minecraft.resources.ResourceLocation id)
-
-
Method Details
-
make
-
lang
-
block
public TrackMaterialFactory block(com.tterrag.registrate.util.nullness.NonNullSupplier<com.tterrag.registrate.util.nullness.NonNullSupplier<? extends TrackBlock>> trackBlock) -
defaultModels
-
sleeper
-
sleeper
-
rails
-
rails
-
noRecipeGen
-
particle
-
trackType
-
standardModels
-
customModels
public TrackMaterialFactory customModels(Supplier<Supplier<dev.engine_room.flywheel.lib.model.baked.PartialModel>> tieModel, Supplier<Supplier<dev.engine_room.flywheel.lib.model.baked.PartialModel>> leftSegmentModel, Supplier<Supplier<dev.engine_room.flywheel.lib.model.baked.PartialModel>> rightSegmentModel) -
customBlockFactory
-
build
-