Package dev.latvian.mods.kubejs.block
Interface BlockTintFunction
- All Known Implementing Classes:
BlockTintFunction.Fixed,BlockTintFunction.Mapped
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final recordstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final BlockTintFunction.Fixedstatic final KubeColorstatic final BlockTintFunction.Fixedstatic final BlockTintFunctionstatic final BlockTintFunctionstatic final BlockTintFunction.Fixedstatic final BlockTintFunctionstatic final KubeColor[]static final dev.latvian.mods.rhino.type.TypeInfostatic final BlockTintFunction -
Method Summary
Modifier and TypeMethodDescriptiongetColor(net.minecraft.world.level.block.state.BlockState state, @Nullable net.minecraft.world.level.BlockAndTintGetter level, @Nullable net.minecraft.core.BlockPos pos, int index) static @Nullable BlockTintFunction
-
Field Details
-
TYPE_INFO
static final dev.latvian.mods.rhino.type.TypeInfo TYPE_INFO -
GRASS
-
DEFAULT_FOLIAGE_COLOR
-
FOLIAGE
-
EVERGREEN_FOLIAGE
-
BIRCH_FOLIAGE
-
MANGROVE_FOLIAGE
-
WATER
-
REDSTONE_COLORS
-
REDSTONE
-
-
Method Details
-
getColor
KubeColor getColor(net.minecraft.world.level.block.state.BlockState state, @Nullable @Nullable net.minecraft.world.level.BlockAndTintGetter level, @Nullable @Nullable net.minecraft.core.BlockPos pos, int index) -
wrap
-