Package net.minecraft.loot.function
Class CopyStateLootFunction.Builder
java.lang.Object
net.minecraft.loot.function.ConditionalLootFunction.Builder<CopyStateLootFunction.Builder>
net.minecraft.loot.function.CopyStateLootFunction.Builder
- All Implemented Interfaces:
LootConditionConsumingBuilder<CopyStateLootFunction.Builder>
,LootFunction.Builder
- Enclosing class:
CopyStateLootFunction
public static class CopyStateLootFunction.Builder
extends ConditionalLootFunction.Builder<CopyStateLootFunction.Builder>
- Mappings:
Namespace Name named net/minecraft/loot/function/CopyStateLootFunction$Builder
intermediary net/minecraft/class_4488$class_4489
official exn$a
-
Field Summary
Modifier and TypeFieldDescriptionprivate final RegistryEntry
<Block> private final ImmutableSet.Builder
<Property<?>> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddProperty
(Property<?> property) build()
protected CopyStateLootFunction.Builder
Methods inherited from class net.minecraft.loot.function.ConditionalLootFunction.Builder
conditionally, getConditions, getThisConditionConsumingBuilder
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.loot.condition.LootConditionConsumingBuilder
conditionally
-
Field Details
-
block
- Mappings:
Namespace Name Mixin selector named block
Lnet/minecraft/loot/function/CopyStateLootFunction$Builder;block:Lnet/minecraft/registry/entry/RegistryEntry;
intermediary field_20451
Lnet/minecraft/class_4488$class_4489;field_20451:Lnet/minecraft/class_6880;
official a
Lexn$a;a:Ljq;
-
properties
- Mappings:
Namespace Name Mixin selector named properties
Lnet/minecraft/loot/function/CopyStateLootFunction$Builder;properties:Lcom/google/common/collect/ImmutableSet$Builder;
intermediary field_20452
Lnet/minecraft/class_4488$class_4489;field_20452:Lcom/google/common/collect/ImmutableSet$Builder;
official b
Lexn$a;b:Lcom/google/common/collect/ImmutableSet$Builder;
-
-
Constructor Details
-
Builder
Builder(Block block) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/loot/function/CopyStateLootFunction$Builder;<init>(Lnet/minecraft/block/Block;)V
intermediary <init>
Lnet/minecraft/class_4488$class_4489;<init>(Lnet/minecraft/class_2248;)V
official <init>
Lexn$a;<init>(Ldkl;)V
-
-
Method Details
-
addProperty
- Mappings:
Namespace Name Mixin selector named addProperty
Lnet/minecraft/loot/function/CopyStateLootFunction$Builder;addProperty(Lnet/minecraft/state/property/Property;)Lnet/minecraft/loot/function/CopyStateLootFunction$Builder;
intermediary method_21898
Lnet/minecraft/class_4488$class_4489;method_21898(Lnet/minecraft/class_2769;)Lnet/minecraft/class_4488$class_4489;
official a
Lexn$a;a(Ldyw;)Lexn$a;
-
getThisBuilder
- Specified by:
getThisBuilder
in classConditionalLootFunction.Builder<CopyStateLootFunction.Builder>
- Mappings:
Namespace Name Mixin selector named getThisBuilder
Lnet/minecraft/loot/function/CopyStateLootFunction$Builder;getThisBuilder()Lnet/minecraft/loot/function/CopyStateLootFunction$Builder;
intermediary method_21897
Lnet/minecraft/class_4488$class_4489;method_21897()Lnet/minecraft/class_4488$class_4489;
official a
Lexn$a;a()Lexn$a;
-
build
- Mappings:
Namespace Name Mixin selector named build
Lnet/minecraft/loot/function/LootFunction$Builder;build()Lnet/minecraft/loot/function/LootFunction;
intermediary method_515
Lnet/minecraft/class_117$class_118;method_515()Lnet/minecraft/class_117;
official b
Leyc$a;b()Leyc;
-