Package | Description |
---|---|
net.minecraftforge.client.model | |
net.minecraftforge.common.property |
Modifier and Type | Method and Description |
---|---|
private static int[] |
ModelFluid.CachingBakedFluid.getCorners(java.util.Optional<IExtendedBlockState> stateOption)
Gets the quantized fluid levels for each corner.
|
private static int |
ModelFluid.CachingBakedFluid.getFlow(java.util.Optional<IExtendedBlockState> stateOption)
Gets the quantized flow direction of the fluid.
|
private static boolean[] |
ModelFluid.CachingBakedFluid.getOverlay(java.util.Optional<IExtendedBlockState> stateOption)
Gets the overlay texture flag for each side.
|
Constructor and Description |
---|
CachingBakedFluid(java.util.Optional<TRSRTransformation> transformation,
com.google.common.collect.ImmutableMap<ItemCameraTransforms.TransformType,TRSRTransformation> transforms,
VertexFormat format,
int color,
TextureAtlasSprite still,
TextureAtlasSprite flowing,
java.util.Optional<TextureAtlasSprite> overlay,
boolean gas,
java.util.Optional<IExtendedBlockState> stateOption) |
Modifier and Type | Class and Description |
---|---|
protected static class |
ExtendedBlockState.ExtendedStateImplementation |
Modifier and Type | Method and Description |
---|---|
<V> IExtendedBlockState |
IExtendedBlockState.withProperty(IUnlistedProperty<V> property,
V value) |
<V> IExtendedBlockState |
ExtendedBlockState.ExtendedStateImplementation.withProperty(IUnlistedProperty<V> property,
V value) |