类 LeavesVineTreeDecorator
- java.lang.Object
-
- net.minecraft.world.gen.treedecorator.TreeDecorator
-
- net.minecraft.world.gen.treedecorator.LeavesVineTreeDecorator
-
public class LeavesVineTreeDecorator extends TreeDecorator
- Mappings:
Namespace Name official cxcintermediary net/minecraft/class_4661named net/minecraft/world/gen/treedecorator/LeavesVineTreeDecorator
-
-
字段概要
字段 修饰符和类型 字段 说明 static com.mojang.serialization.Codec<LeavesVineTreeDecorator>CODECstatic LeavesVineTreeDecoratorINSTANCE-
从类继承的字段 net.minecraft.world.gen.treedecorator.TreeDecorator
TYPE_CODEC
-
-
构造器概要
构造器 构造器 说明 LeavesVineTreeDecorator()
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 voidgenerate(TestableWorld testableWorld, BiConsumer<BlockPos,BlockState> biConsumer, Random random, List<BlockPos> leavesPositions, List<BlockPos> list)protected TreeDecoratorType<?>getType()private static voidplaceVines(TestableWorld testableWorld, BlockPos blockPos, BooleanProperty booleanProperty, BiConsumer<BlockPos,BlockState> biConsumer)Places a vine at a given position and then up to 4 more vines going downwards.-
从类继承的方法 net.minecraft.world.gen.treedecorator.TreeDecorator
placeVine
-
-
-
-
字段详细资料
-
CODEC
public static final com.mojang.serialization.Codec<LeavesVineTreeDecorator> CODEC
- Mappings:
Namespace Name Mixin selector official aLcxc;a:Lcom/mojang/serialization/Codec;intermediary field_24960Lnet/minecraft/class_4661;field_24960:Lcom/mojang/serialization/Codec;named CODECLnet/minecraft/world/gen/treedecorator/LeavesVineTreeDecorator;CODEC:Lcom/mojang/serialization/Codec;
-
INSTANCE
public static final LeavesVineTreeDecorator INSTANCE
- Mappings:
Namespace Name Mixin selector official bLcxc;b:Lcxc;intermediary field_24961Lnet/minecraft/class_4661;field_24961:Lnet/minecraft/class_4661;named INSTANCELnet/minecraft/world/gen/treedecorator/LeavesVineTreeDecorator;INSTANCE:Lnet/minecraft/world/gen/treedecorator/LeavesVineTreeDecorator;
-
-
方法详细资料
-
getType
protected TreeDecoratorType<?> getType()
- 指定者:
getType在类中TreeDecorator- Mappings:
Namespace Name Mixin selector official aLcxd;a()Lcxe;intermediary method_28893Lnet/minecraft/class_4662;method_28893()Lnet/minecraft/class_4663;named getTypeLnet/minecraft/world/gen/treedecorator/TreeDecorator;getType()Lnet/minecraft/world/gen/treedecorator/TreeDecoratorType;
-
generate
public void generate(TestableWorld testableWorld, BiConsumer<BlockPos,BlockState> biConsumer, Random random, List<BlockPos> leavesPositions, List<BlockPos> list)
- 指定者:
generate在类中TreeDecorator- Mappings:
Namespace Name Mixin selector official aLcxd;a(Lbvx;Ljava/util/function/BiConsumer;Ljava/util/Random;Ljava/util/List;Ljava/util/List;)Vintermediary method_23469Lnet/minecraft/class_4662;method_23469(Lnet/minecraft/class_3746;Ljava/util/function/BiConsumer;Ljava/util/Random;Ljava/util/List;Ljava/util/List;)Vnamed generateLnet/minecraft/world/gen/treedecorator/TreeDecorator;generate(Lnet/minecraft/world/TestableWorld;Ljava/util/function/BiConsumer;Ljava/util/Random;Ljava/util/List;Ljava/util/List;)V
-
placeVines
private static void placeVines(TestableWorld testableWorld, BlockPos blockPos, BooleanProperty booleanProperty, BiConsumer<BlockPos,BlockState> biConsumer)
Places a vine at a given position and then up to 4 more vines going downwards.- Mappings:
Namespace Name Mixin selector official aLcxc;a(Lbvx;Lgb;Lcki;Ljava/util/function/BiConsumer;)Vintermediary method_23467Lnet/minecraft/class_4661;method_23467(Lnet/minecraft/class_3746;Lnet/minecraft/class_2338;Lnet/minecraft/class_2746;Ljava/util/function/BiConsumer;)Vnamed placeVinesLnet/minecraft/world/gen/treedecorator/LeavesVineTreeDecorator;placeVines(Lnet/minecraft/world/TestableWorld;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/state/property/BooleanProperty;Ljava/util/function/BiConsumer;)V
-
-