Class ChestManager.ChestInfo
java.lang.Object
io.github.vampirestudios.vampirelib.ChestManager.ChestInfo
- Enclosing class:
- ChestManager
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.client.resources.model.MaterialGets this info's leftMaterial.net.minecraft.client.resources.model.MaterialGets this info's rightMaterial.net.minecraft.client.resources.model.MaterialGets this info's default/singleMaterial.voidAdds the internal textures to the stitch event and initializes theMaterials.
-
Constructor Details
-
ChestInfo
-
-
Method Details
-
setup
Adds the internal textures to the stitch event and initializes theMaterials.- Parameters:
event- ATextureStitchCallback.Preto setup this info from.
-
getSingleMaterial
@Environment(CLIENT) public net.minecraft.client.resources.model.Material getSingleMaterial()Gets this info's default/singleMaterial.- Returns:
- This info's default/single
Material.
-
getLeftMaterial
@Environment(CLIENT) public net.minecraft.client.resources.model.Material getLeftMaterial()Gets this info's leftMaterial.- Returns:
- This info's left
Material.
-
getRightMaterial
@Environment(CLIENT) public net.minecraft.client.resources.model.Material getRightMaterial()Gets this info's rightMaterial.- Returns:
- This info's right
Material.
-