Class CocoaBeansTreeDecorator

java.lang.Object
net.minecraft.world.gen.treedecorator.TreeDecorator
net.minecraft.world.gen.treedecorator.CocoaBeansTreeDecorator

public class CocoaBeansTreeDecorator extends TreeDecorator
Mappings:
Namespace Name
official dwo
intermediary net/minecraft/class_4660
named net/minecraft/world/gen/treedecorator/CocoaBeansTreeDecorator
  • Field Details

    • CODEC

      public static final com.mojang.serialization.Codec<CocoaBeansTreeDecorator> CODEC
      Mappings:
      Namespace Name Mixin selector
      official a Ldwo;a:Lcom/mojang/serialization/Codec;
      intermediary field_24959 Lnet/minecraft/class_4660;field_24959:Lcom/mojang/serialization/Codec;
      named CODEC Lnet/minecraft/world/gen/treedecorator/CocoaBeansTreeDecorator;CODEC:Lcom/mojang/serialization/Codec;
    • probability

      private final float probability
      Mappings:
      Namespace Name Mixin selector
      official b Ldwo;b:F
      intermediary field_21318 Lnet/minecraft/class_4660;field_21318:F
      named probability Lnet/minecraft/world/gen/treedecorator/CocoaBeansTreeDecorator;probability:F
  • Constructor Details

    • CocoaBeansTreeDecorator

      public CocoaBeansTreeDecorator(float probability)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldwo;<init>(F)V
      intermediary <init> Lnet/minecraft/class_4660;<init>(F)V
      named <init> Lnet/minecraft/world/gen/treedecorator/CocoaBeansTreeDecorator;<init>(F)V
  • Method Details

    • getType

      protected TreeDecoratorType<?> getType()
      Specified by:
      getType in class TreeDecorator
      Mappings:
      Namespace Name Mixin selector
      official a Ldwq;a()Ldwr;
      intermediary method_28893 Lnet/minecraft/class_4662;method_28893()Lnet/minecraft/class_4663;
      named getType Lnet/minecraft/world/gen/treedecorator/TreeDecorator;getType()Lnet/minecraft/world/gen/treedecorator/TreeDecoratorType;
    • generate

      public void generate(TreeDecorator.Generator generator)
      Specified by:
      generate in class TreeDecorator
      Mappings:
      Namespace Name Mixin selector
      official a Ldwq;a(Ldwq$a;)V
      intermediary method_23469 Lnet/minecraft/class_4662;method_23469(Lnet/minecraft/class_4662$class_7402;)V
      named generate Lnet/minecraft/world/gen/treedecorator/TreeDecorator;generate(Lnet/minecraft/world/gen/treedecorator/TreeDecorator$Generator;)V