Class LeavesFix.LeavesLogFixer

java.lang.Object
net.minecraft.datafixer.fix.LeavesFix.ListFixer
net.minecraft.datafixer.fix.LeavesFix.LeavesLogFixer
Enclosing class:
LeavesFix

public static final class LeavesFix.LeavesLogFixer
extends LeavesFix.ListFixer
Mappings:
Namespace Name
official akg$a
intermediary net/minecraft/class_1191$class_1192
named net/minecraft/datafixer/fix/LeavesFix$LeavesLogFixer
  • Field Details

    • leafIndices

      @Nullable private IntSet leafIndices
      Mappings:
      Namespace Name Mixin selector
      official e Lakg$a;e:Lit/unimi/dsi/fastutil/ints/IntSet;
      intermediary field_5689 Lnet/minecraft/class_1191$class_1192;field_5689:Lit/unimi/dsi/fastutil/ints/IntSet;
      named leafIndices Lnet/minecraft/datafixer/fix/LeavesFix$LeavesLogFixer;leafIndices:Lit/unimi/dsi/fastutil/ints/IntSet;
    • logIndices

      @Nullable private IntSet logIndices
      Mappings:
      Namespace Name Mixin selector
      official f Lakg$a;f:Lit/unimi/dsi/fastutil/ints/IntSet;
      intermediary field_5691 Lnet/minecraft/class_1191$class_1192;field_5691:Lit/unimi/dsi/fastutil/ints/IntSet;
      named logIndices Lnet/minecraft/datafixer/fix/LeavesFix$LeavesLogFixer;logIndices:Lit/unimi/dsi/fastutil/ints/IntSet;
    • leafStates

      @Nullable private Int2IntMap leafStates
      Mappings:
      Namespace Name Mixin selector
      official g Lakg$a;g:Lit/unimi/dsi/fastutil/ints/Int2IntMap;
      intermediary field_5690 Lnet/minecraft/class_1191$class_1192;field_5690:Lit/unimi/dsi/fastutil/ints/Int2IntMap;
      named leafStates Lnet/minecraft/datafixer/fix/LeavesFix$LeavesLogFixer;leafStates:Lit/unimi/dsi/fastutil/ints/Int2IntMap;
  • Constructor Details

    • LeavesLogFixer

      public LeavesLogFixer​(com.mojang.datafixers.Typed<?> typed, com.mojang.datafixers.schemas.Schema schema)
  • Method Details

    • needsFix

      protected boolean needsFix()
      Specified by:
      needsFix in class LeavesFix.ListFixer
      Mappings:
      Namespace Name Mixin selector
      official a Lakg$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
    • createLeafProperties

      private com.mojang.serialization.Dynamic<?> createLeafProperties​(com.mojang.serialization.Dynamic<?> dynamic, String string, boolean bool, int int2)
      Mappings:
      Namespace Name Mixin selector
      official a Lakg$a;a(Lcom/mojang/serialization/Dynamic;Ljava/lang/String;ZI)Lcom/mojang/serialization/Dynamic;
      intermediary method_5072 Lnet/minecraft/class_1191$class_1192;method_5072(Lcom/mojang/serialization/Dynamic;Ljava/lang/String;ZI)Lcom/mojang/serialization/Dynamic;
      named createLeafProperties Lnet/minecraft/datafixer/fix/LeavesFix$LeavesLogFixer;createLeafProperties(Lcom/mojang/serialization/Dynamic;Ljava/lang/String;ZI)Lcom/mojang/serialization/Dynamic;
    • isLog

      public boolean isLog​(int int2)
      Mappings:
      Namespace Name Mixin selector
      official a Lakg$a;a(I)Z
      intermediary method_5068 Lnet/minecraft/class_1191$class_1192;method_5068(I)Z
      named isLog Lnet/minecraft/datafixer/fix/LeavesFix$LeavesLogFixer;isLog(I)Z
    • isLeaf

      public boolean isLeaf​(int int2)
      Mappings:
      Namespace Name Mixin selector
      official b Lakg$a;b(I)Z
      intermediary method_5071 Lnet/minecraft/class_1191$class_1192;method_5071(I)Z
      named isLeaf Lnet/minecraft/datafixer/fix/LeavesFix$LeavesLogFixer;isLeaf(I)Z
    • getDistanceToLog

      private int getDistanceToLog​(int int2)
      Mappings:
      Namespace Name Mixin selector
      official d Lakg$a;d(I)I
      intermediary method_5065 Lnet/minecraft/class_1191$class_1192;method_5065(I)I
      named getDistanceToLog Lnet/minecraft/datafixer/fix/LeavesFix$LeavesLogFixer;getDistanceToLog(I)I
    • computeLeafStates

      private void computeLeafStates​(int int2, int int3, int int4)
      Mappings:
      Namespace Name Mixin selector
      official a Lakg$a;a(III)V
      intermediary method_5070 Lnet/minecraft/class_1191$class_1192;method_5070(III)V
      named computeLeafStates Lnet/minecraft/datafixer/fix/LeavesFix$LeavesLogFixer;computeLeafStates(III)V