Class StaticPartModel
java.lang.Object
appeng.client.api.model.parts.StaticPartModel
- All Implemented Interfaces:
PartModel
- Tint Index 1
- The
dark variant colorof the cable that this part is attached to. - Tint Index 2
- The
colorof the cable that this part is attached to. - Tint Index 3
- The
bright variant colorof the cable that this part is attached to. - Tint Index 4
- A color variant that is between the cable's
colorand itsbright variant.
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionStaticPartModel(net.minecraft.client.renderer.block.dispatch.BlockStateModelPart model) -
Method Summary
Modifier and TypeMethodDescriptionvoidcollectParts(net.minecraft.client.renderer.block.BlockAndTintGetter level, net.minecraft.core.BlockPos pos, net.neoforged.neoforge.model.data.ModelData partModelData, net.minecraft.util.RandomSource random, List<net.minecraft.client.renderer.block.dispatch.BlockStateModelPart> parts) Collects model parts of this part model.net.minecraft.client.resources.model.sprite.Material.BakedMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface PartModel
canAttachToStraightCable
-
Constructor Details
-
StaticPartModel
public StaticPartModel(net.minecraft.client.renderer.block.dispatch.BlockStateModelPart model)
-
-
Method Details
-
collectParts
public void collectParts(net.minecraft.client.renderer.block.BlockAndTintGetter level, net.minecraft.core.BlockPos pos, net.neoforged.neoforge.model.data.ModelData partModelData, net.minecraft.util.RandomSource random, List<net.minecraft.client.renderer.block.dispatch.BlockStateModelPart> parts) Description copied from interface:PartModelCollects model parts of this part model.- Specified by:
collectPartsin interfacePartModel- Parameters:
level- The level the part host is in.pos- The position the part host is located at.partModelData- Any part model state previously collected fromIPart.collectModelData(ModelData.Builder).
-
particleMaterial
public net.minecraft.client.resources.model.sprite.Material.Baked particleMaterial()- Specified by:
particleMaterialin interfacePartModel
-