Package net.minecraft.block
Interface Segmented
- All Known Implementing Classes:
FlowerbedBlock
,LeafLitterBlock
public interface Segmented
- Mappings:
Namespace Name named net/minecraft/block/Segmented
intermediary net/minecraft/class_10596
official dxh
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiondefault Function
<BlockState, VoxelShape> createShapeFunction
(EnumProperty<Direction> directionProperty, IntProperty segmentAmountProperty) default IntProperty
default double
default BlockState
getPlacementState
(ItemPlacementContext context, Block block, IntProperty amountProperty, EnumProperty<Direction> directionProperty) default boolean
shouldAddSegment
(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_PLACEMENT
Lnet/minecraft/block/Segmented;SEGMENTS_PER_PLACEMENT:I
intermediary field_55789
Lnet/minecraft/class_10596;field_55789:I
official d
Ldxh;d:I
-
MAX_SEGMENTS
static final int MAX_SEGMENTS- See Also:
- Mappings:
Namespace Name Mixin selector named MAX_SEGMENTS
Lnet/minecraft/block/Segmented;MAX_SEGMENTS:I
intermediary field_55790
Lnet/minecraft/class_10596;field_55790:I
official e
Ldxh;e:I
-
SEGMENT_AMOUNT
- Mappings:
Namespace Name Mixin selector named SEGMENT_AMOUNT
Lnet/minecraft/block/Segmented;SEGMENT_AMOUNT:Lnet/minecraft/state/property/IntProperty;
intermediary field_55791
Lnet/minecraft/class_10596;field_55791:Lnet/minecraft/class_2758;
official f
Ldxh;f:Lefb;
-
-
Method Details
-
createShapeFunction
default Function<BlockState,VoxelShape> createShapeFunction(EnumProperty<Direction> directionProperty, IntProperty segmentAmountProperty) - Mappings:
Namespace Name Mixin selector named createShapeFunction
Lnet/minecraft/block/Segmented;createShapeFunction(Lnet/minecraft/state/property/EnumProperty;Lnet/minecraft/state/property/IntProperty;)Ljava/util/function/Function;
intermediary method_66465
Lnet/minecraft/class_10596;method_66465(Lnet/minecraft/class_2754;Lnet/minecraft/class_2758;)Ljava/util/function/Function;
official a
Ldxh;a(Leez;Lefb;)Ljava/util/function/Function;
-
getAmountProperty
- Mappings:
Namespace Name Mixin selector named getAmountProperty
Lnet/minecraft/block/Segmented;getAmountProperty()Lnet/minecraft/state/property/IntProperty;
intermediary method_66434
Lnet/minecraft/class_10596;method_66434()Lnet/minecraft/class_2758;
official c
Ldxh;c()Lefb;
-
getHeight
default double getHeight()- Mappings:
Namespace Name Mixin selector named getHeight
Lnet/minecraft/block/Segmented;getHeight()D
intermediary method_66433
Lnet/minecraft/class_10596;method_66433()D
official b
Ldxh;b()D
-
shouldAddSegment
default boolean shouldAddSegment(BlockState state, ItemPlacementContext context, IntProperty property) - Mappings:
Namespace Name Mixin selector named shouldAddSegment
Lnet/minecraft/block/Segmented;shouldAddSegment(Lnet/minecraft/block/BlockState;Lnet/minecraft/item/ItemPlacementContext;Lnet/minecraft/state/property/IntProperty;)Z
intermediary method_66464
Lnet/minecraft/class_10596;method_66464(Lnet/minecraft/class_2680;Lnet/minecraft/class_1750;Lnet/minecraft/class_2758;)Z
official a
Ldxh;a(Leeb;Ldgo;Lefb;)Z
-
getPlacementState
default BlockState getPlacementState(ItemPlacementContext context, Block block, IntProperty amountProperty, EnumProperty<Direction> directionProperty) - Mappings:
Namespace Name Mixin selector named getPlacementState
Lnet/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_66463
Lnet/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 a
Ldxh;a(Ldgo;Ldpz;Lefb;Leez;)Leeb;
-