Class AppendLootRuleBlockEntityModifier

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

public class AppendLootRuleBlockEntityModifier extends Object implements RuleBlockEntityModifier
Mappings:
Namespace Name
official dvu
intermediary net/minecraft/class_8244
named net/minecraft/structure/rule/blockentity/AppendLootRuleBlockEntityModifier
  • Field Details

    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official b Ldvu;b:Lorg/slf4j/Logger;
      intermediary field_43337 Lnet/minecraft/class_8244;field_43337:Lorg/slf4j/Logger;
      named LOGGER Lnet/minecraft/structure/rule/blockentity/AppendLootRuleBlockEntityModifier;LOGGER:Lorg/slf4j/Logger;
    • CODEC

      public static final com.mojang.serialization.Codec<AppendLootRuleBlockEntityModifier> CODEC
      Mappings:
      Namespace Name Mixin selector
      official a Ldvu;a:Lcom/mojang/serialization/Codec;
      intermediary field_43336 Lnet/minecraft/class_8244;field_43336:Lcom/mojang/serialization/Codec;
      named CODEC Lnet/minecraft/structure/rule/blockentity/AppendLootRuleBlockEntityModifier;CODEC:Lcom/mojang/serialization/Codec;
    • lootTable

      private final Identifier lootTable
      Mappings:
      Namespace Name Mixin selector
      official d Ldvu;d:Lacq;
      intermediary field_43338 Lnet/minecraft/class_8244;field_43338:Lnet/minecraft/class_2960;
      named lootTable Lnet/minecraft/structure/rule/blockentity/AppendLootRuleBlockEntityModifier;lootTable:Lnet/minecraft/util/Identifier;
  • Constructor Details

    • AppendLootRuleBlockEntityModifier

      public AppendLootRuleBlockEntityModifier(Identifier lootTable)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldvu;<init>(Lacq;)V
      intermediary <init> Lnet/minecraft/class_8244;<init>(Lnet/minecraft/class_2960;)V
      named <init> Lnet/minecraft/structure/rule/blockentity/AppendLootRuleBlockEntityModifier;<init>(Lnet/minecraft/util/Identifier;)V
  • Method Details

    • modifyBlockEntityNbt

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

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