Class AppendStaticRuleBlockEntityModifier

java.lang.Object
net.minecraft.structure.rule.blockentity.AppendStaticRuleBlockEntityModifier
All Implemented Interfaces:
RuleBlockEntityModifier

public class AppendStaticRuleBlockEntityModifier extends Object implements RuleBlockEntityModifier
Mappings:
Namespace Name
named net/minecraft/structure/rule/blockentity/AppendStaticRuleBlockEntityModifier
intermediary net/minecraft/class_8245
official eny
  • Field Details

    • CODEC

      public static final com.mojang.serialization.MapCodec<AppendStaticRuleBlockEntityModifier> CODEC
      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/structure/rule/blockentity/AppendStaticRuleBlockEntityModifier;CODEC:Lcom/mojang/serialization/MapCodec;
      intermediary field_43339 Lnet/minecraft/class_8245;field_43339:Lcom/mojang/serialization/MapCodec;
      official a Leny;a:Lcom/mojang/serialization/MapCodec;
    • nbt

      private final NbtCompound nbt
      Mappings:
      Namespace Name Mixin selector
      named nbt Lnet/minecraft/structure/rule/blockentity/AppendStaticRuleBlockEntityModifier;nbt:Lnet/minecraft/nbt/NbtCompound;
      intermediary field_43340 Lnet/minecraft/class_8245;field_43340:Lnet/minecraft/class_2487;
      official b Leny;b:Lub;
  • Constructor Details

    • AppendStaticRuleBlockEntityModifier

      public AppendStaticRuleBlockEntityModifier(NbtCompound nbt)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/structure/rule/blockentity/AppendStaticRuleBlockEntityModifier;<init>(Lnet/minecraft/nbt/NbtCompound;)V
      intermediary <init> Lnet/minecraft/class_8245;<init>(Lnet/minecraft/class_2487;)V
      official <init> Leny;<init>(Lub;)V
  • Method Details

    • modifyBlockEntityNbt

      public NbtCompound modifyBlockEntityNbt(Random random, @Nullable @Nullable NbtCompound nbt)
      Specified by:
      modifyBlockEntityNbt in interface RuleBlockEntityModifier
      Mappings:
      Namespace Name Mixin selector
      named modifyBlockEntityNbt Lnet/minecraft/structure/rule/blockentity/RuleBlockEntityModifier;modifyBlockEntityNbt(Lnet/minecraft/util/math/random/Random;Lnet/minecraft/nbt/NbtCompound;)Lnet/minecraft/nbt/NbtCompound;
      intermediary method_49892 Lnet/minecraft/class_8248;method_49892(Lnet/minecraft/class_5819;Lnet/minecraft/class_2487;)Lnet/minecraft/class_2487;
      official a Leob;a(Layw;Lub;)Lub;
    • getType

      public RuleBlockEntityModifierType<?> getType()
      Specified by:
      getType in interface RuleBlockEntityModifier
      Mappings:
      Namespace Name Mixin selector
      named getType Lnet/minecraft/structure/rule/blockentity/RuleBlockEntityModifier;getType()Lnet/minecraft/structure/rule/blockentity/RuleBlockEntityModifierType;
      intermediary method_49891 Lnet/minecraft/class_8248;method_49891()Lnet/minecraft/class_8249;
      official a Leob;a()Leoc;