Package net.minecraft.datafixer.fix
Class LeavesFix.ListFixer
java.lang.Object
net.minecraft.datafixer.fix.LeavesFix.ListFixer
- Direct Known Subclasses:
AddTrappedChestFix.ListFixer
,LeavesFix.LeavesLogFixer
- Enclosing class:
LeavesFix
- Mappings:
Namespace Name official axp$b
intermediary net/minecraft/class_1191$class_1193
named net/minecraft/datafixer/fix/LeavesFix$ListFixer
-
Field Summary
Modifier and TypeFieldDescriptionprotected static final String
protected @Nullable WordPackedArray
private final com.mojang.datafixers.types.Type<com.mojang.datafixers.util.Pair<String,
com.mojang.serialization.Dynamic<?>>> protected static final String
protected final com.mojang.datafixers.OpticFinder<List<com.mojang.datafixers.util.Pair<String,
com.mojang.serialization.Dynamic<?>>>> protected final List<com.mojang.serialization.Dynamic<?>>
protected static final String
protected final int
-
Constructor Summary
ConstructorDescriptionListFixer
(com.mojang.datafixers.Typed<?> typed, com.mojang.datafixers.schemas.Schema schema) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
computeFixableBlockStates
(com.mojang.serialization.Dynamic<?> dynamic) protected int
computeFlags
(String leafBlockName, boolean persistent, int distance) (package private) int
getY()
boolean
isFixed()
com.mojang.datafixers.Typed<?>
method_5083
(com.mojang.datafixers.Typed<?> typed) protected abstract boolean
needsFix()
int
needsFix
(int index)
-
Field Details
-
BLOCK_STATES_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector official a
Laxp$b;a:Ljava/lang/String;
intermediary field_29900
Lnet/minecraft/class_1191$class_1193;field_29900:Ljava/lang/String;
named BLOCK_STATES_KEY
Lnet/minecraft/datafixer/fix/LeavesFix$ListFixer;BLOCK_STATES_KEY:Ljava/lang/String;
-
NAME_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector official b
Laxp$b;b:Ljava/lang/String;
intermediary field_29901
Lnet/minecraft/class_1191$class_1193;field_29901:Ljava/lang/String;
named NAME_KEY
Lnet/minecraft/datafixer/fix/LeavesFix$ListFixer;NAME_KEY:Ljava/lang/String;
-
PROPERTIES_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector official c
Laxp$b;c:Ljava/lang/String;
intermediary field_29902
Lnet/minecraft/class_1191$class_1193;field_29902:Ljava/lang/String;
named PROPERTIES_KEY
Lnet/minecraft/datafixer/fix/LeavesFix$ListFixer;PROPERTIES_KEY:Ljava/lang/String;
-
blockStateType
private final com.mojang.datafixers.types.Type<com.mojang.datafixers.util.Pair<String,com.mojang.serialization.Dynamic<?>>> blockStateType- Mappings:
Namespace Name Mixin selector official h
Laxp$b;h:Lcom/mojang/datafixers/types/Type;
intermediary field_5695
Lnet/minecraft/class_1191$class_1193;field_5695:Lcom/mojang/datafixers/types/Type;
named blockStateType
Lnet/minecraft/datafixer/fix/LeavesFix$ListFixer;blockStateType:Lcom/mojang/datafixers/types/Type;
-
paletteFinder
protected final com.mojang.datafixers.OpticFinder<List<com.mojang.datafixers.util.Pair<String,com.mojang.serialization.Dynamic<?>>>> paletteFinder- Mappings:
Namespace Name Mixin selector official d
Laxp$b;d:Lcom/mojang/datafixers/OpticFinder;
intermediary field_5693
Lnet/minecraft/class_1191$class_1193;field_5693:Lcom/mojang/datafixers/OpticFinder;
named paletteFinder
Lnet/minecraft/datafixer/fix/LeavesFix$ListFixer;paletteFinder:Lcom/mojang/datafixers/OpticFinder;
-
properties
- Mappings:
Namespace Name Mixin selector official e
Laxp$b;e:Ljava/util/List;
intermediary field_5692
Lnet/minecraft/class_1191$class_1193;field_5692:Ljava/util/List;
named properties
Lnet/minecraft/datafixer/fix/LeavesFix$ListFixer;properties:Ljava/util/List;
-
y
protected final int y- Mappings:
Namespace Name Mixin selector official f
Laxp$b;f:I
intermediary field_5694
Lnet/minecraft/class_1191$class_1193;field_5694:I
named y
Lnet/minecraft/datafixer/fix/LeavesFix$ListFixer;y:I
-
blockStateMap
- Mappings:
Namespace Name Mixin selector official g
Laxp$b;g:Latc;
intermediary field_5696
Lnet/minecraft/class_1191$class_1193;field_5696:Lnet/minecraft/class_5298;
named blockStateMap
Lnet/minecraft/datafixer/fix/LeavesFix$ListFixer;blockStateMap:Lnet/minecraft/util/math/WordPackedArray;
-
-
Constructor Details
-
ListFixer
public ListFixer(com.mojang.datafixers.Typed<?> typed, com.mojang.datafixers.schemas.Schema schema)
-
-
Method Details
-
computeFixableBlockStates
protected void computeFixableBlockStates(com.mojang.serialization.Dynamic<?> dynamic) - Mappings:
Namespace Name Mixin selector official a
Laxp$b;a(Lcom/mojang/serialization/Dynamic;)V
intermediary method_5074
Lnet/minecraft/class_1191$class_1193;method_5074(Lcom/mojang/serialization/Dynamic;)V
named computeFixableBlockStates
Lnet/minecraft/datafixer/fix/LeavesFix$ListFixer;computeFixableBlockStates(Lcom/mojang/serialization/Dynamic;)V
-
method_5083
public com.mojang.datafixers.Typed<?> method_5083(com.mojang.datafixers.Typed<?> typed) - Mappings:
Namespace Name Mixin selector official a
Laxp$b;a(Lcom/mojang/datafixers/Typed;)Lcom/mojang/datafixers/Typed;
intermediary method_5083
Lnet/minecraft/class_1191$class_1193;method_5083(Lcom/mojang/datafixers/Typed;)Lcom/mojang/datafixers/Typed;
named method_5083
Lnet/minecraft/datafixer/fix/LeavesFix$ListFixer;method_5083(Lcom/mojang/datafixers/Typed;)Lcom/mojang/datafixers/Typed;
-
isFixed
public boolean isFixed()- Mappings:
Namespace Name Mixin selector official b
Laxp$b;b()Z
intermediary method_5079
Lnet/minecraft/class_1191$class_1193;method_5079()Z
named isFixed
Lnet/minecraft/datafixer/fix/LeavesFix$ListFixer;isFixed()Z
-
needsFix
public int needsFix(int index) - Mappings:
Namespace Name Mixin selector official c
Laxp$b;c(I)I
intermediary method_5075
Lnet/minecraft/class_1191$class_1193;method_5075(I)I
named needsFix
Lnet/minecraft/datafixer/fix/LeavesFix$ListFixer;needsFix(I)I
-
computeFlags
- Mappings:
Namespace Name Mixin selector official a
Laxp$b;a(Ljava/lang/String;ZI)I
intermediary method_5082
Lnet/minecraft/class_1191$class_1193;method_5082(Ljava/lang/String;ZI)I
named computeFlags
Lnet/minecraft/datafixer/fix/LeavesFix$ListFixer;computeFlags(Ljava/lang/String;ZI)I
-
getY
int getY()- Mappings:
Namespace Name Mixin selector official c
Laxp$b;c()I
intermediary method_5077
Lnet/minecraft/class_1191$class_1193;method_5077()I
named getY
Lnet/minecraft/datafixer/fix/LeavesFix$ListFixer;getY()I
-
needsFix
protected abstract boolean needsFix()- Mappings:
Namespace Name Mixin selector official a
Laxp$b;a()Z
intermediary method_5076
Lnet/minecraft/class_1191$class_1193;method_5076()Z
named needsFix
Lnet/minecraft/datafixer/fix/LeavesFix$ListFixer;needsFix()Z
-