Package net.minecraft.block
Interface Segmented
- All Known Implementing Classes:
FlowerbedBlock,LeafLitterBlock
public interface Segmented
- Mappings:
Namespace Name named net/minecraft/block/Segmentedintermediary net/minecraft/class_10596official duv
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiondefault Function<BlockState, VoxelShape> createShapeFunction(EnumProperty<Direction> directionProperty, IntProperty segmentAmountProperty) default IntPropertydefault doubledefault BlockStategetPlacementState(ItemPlacementContext context, Block block, IntProperty amountProperty, EnumProperty<Direction> directionProperty) default booleanshouldAddSegment(BlockState state, ItemPlacementContext context, IntProperty property)
-
Field Details
-
SEGMENTS_PER_PLACEMENT
static final int SEGMENTS_PER_PLACEMENT- See Also:
- Mappings:
Namespace Name Mixin selector named SEGMENTS_PER_PLACEMENTLnet/minecraft/block/Segmented;SEGMENTS_PER_PLACEMENT:Iintermediary field_55789Lnet/minecraft/class_10596;field_55789:Iofficial dLduv;d:I
-
MAX_SEGMENTS
static final int MAX_SEGMENTS- See Also:
- Mappings:
Namespace Name Mixin selector named MAX_SEGMENTSLnet/minecraft/block/Segmented;MAX_SEGMENTS:Iintermediary field_55790Lnet/minecraft/class_10596;field_55790:Iofficial eLduv;e:I
-
SEGMENT_AMOUNT
- Mappings:
Namespace Name Mixin selector named SEGMENT_AMOUNTLnet/minecraft/block/Segmented;SEGMENT_AMOUNT:Lnet/minecraft/state/property/IntProperty;intermediary field_55791Lnet/minecraft/class_10596;field_55791:Lnet/minecraft/class_2758;official fLduv;f:Lecq;
-
-
Method Details
-
createShapeFunction
default Function<BlockState,VoxelShape> createShapeFunction(EnumProperty<Direction> directionProperty, IntProperty segmentAmountProperty) - Mappings:
Namespace Name Mixin selector named createShapeFunctionLnet/minecraft/block/Segmented;createShapeFunction(Lnet/minecraft/state/property/EnumProperty;Lnet/minecraft/state/property/IntProperty;)Ljava/util/function/Function;intermediary method_66465Lnet/minecraft/class_10596;method_66465(Lnet/minecraft/class_2754;Lnet/minecraft/class_2758;)Ljava/util/function/Function;official aLduv;a(Leco;Lecq;)Ljava/util/function/Function;
-
getAmountProperty
- Mappings:
Namespace Name Mixin selector named getAmountPropertyLnet/minecraft/block/Segmented;getAmountProperty()Lnet/minecraft/state/property/IntProperty;intermediary method_66434Lnet/minecraft/class_10596;method_66434()Lnet/minecraft/class_2758;official cLduv;c()Lecq;
-
getHeight
default double getHeight()- Mappings:
Namespace Name Mixin selector named getHeightLnet/minecraft/block/Segmented;getHeight()Dintermediary method_66433Lnet/minecraft/class_10596;method_66433()Dofficial bLduv;b()D
-
shouldAddSegment
default boolean shouldAddSegment(BlockState state, ItemPlacementContext context, IntProperty property) - Mappings:
Namespace Name Mixin selector named shouldAddSegmentLnet/minecraft/block/Segmented;shouldAddSegment(Lnet/minecraft/block/BlockState;Lnet/minecraft/item/ItemPlacementContext;Lnet/minecraft/state/property/IntProperty;)Zintermediary method_66464Lnet/minecraft/class_10596;method_66464(Lnet/minecraft/class_2680;Lnet/minecraft/class_1750;Lnet/minecraft/class_2758;)Zofficial aLduv;a(Lebq;Lded;Lecq;)Z
-
getPlacementState
default BlockState getPlacementState(ItemPlacementContext context, Block block, IntProperty amountProperty, EnumProperty<Direction> directionProperty) - Mappings:
Namespace Name Mixin selector named getPlacementStateLnet/minecraft/block/Segmented;getPlacementState(Lnet/minecraft/item/ItemPlacementContext;Lnet/minecraft/block/Block;Lnet/minecraft/state/property/IntProperty;Lnet/minecraft/state/property/EnumProperty;)Lnet/minecraft/block/BlockState;intermediary method_66463Lnet/minecraft/class_10596;method_66463(Lnet/minecraft/class_1750;Lnet/minecraft/class_2248;Lnet/minecraft/class_2758;Lnet/minecraft/class_2754;)Lnet/minecraft/class_2680;official aLduv;a(Lded;Ldno;Lecq;Leco;)Lebq;
-