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
named net/minecraft/structure/rule/blockentity/AppendLootRuleBlockEntityModifier
intermediary net/minecraft/class_8244
official esp
  • Field Details

    • LOGGER

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

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

      private final RegistryKey<LootTable> lootTable
      Mappings:
      Namespace Name Mixin selector
      named lootTable Lnet/minecraft/structure/rule/blockentity/AppendLootRuleBlockEntityModifier;lootTable:Lnet/minecraft/registry/RegistryKey;
      intermediary field_43338 Lnet/minecraft/class_8244;field_43338:Lnet/minecraft/class_5321;
      official d Lesp;d:Laly;
  • Constructor Details

    • AppendLootRuleBlockEntityModifier

      public AppendLootRuleBlockEntityModifier(RegistryKey<LootTable> lootTable)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/structure/rule/blockentity/AppendLootRuleBlockEntityModifier;<init>(Lnet/minecraft/registry/RegistryKey;)V
      intermediary <init> Lnet/minecraft/class_8244;<init>(Lnet/minecraft/class_5321;)V
      official <init> Lesp;<init>(Laly;)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 Lest;a(Lbam;Lux;)Lux;
    • 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 Lest;a()Lesu;