Class VillageState

java.lang.Object
net.minecraft.world.PersistentState
net.minecraft.village.VillageState

public class VillageState
extends PersistentState
Mappings:
Namespace Name
official th
intermediary net/minecraft/class_1844
named net/minecraft/village/VillageState
  • Field Details

    • world

      private World world
      Mappings:
      Namespace Name Mixin selector
      official b Lth;b:Ladm;
      intermediary field_7877 Lnet/minecraft/class_1844;field_7877:Lnet/minecraft/class_99;
      named world Lnet/minecraft/village/VillageState;world:Lnet/minecraft/world/World;
    • positions

      private final List<BlockPos> positions
      Mappings:
      Namespace Name Mixin selector
      official c Lth;c:Ljava/util/List;
      intermediary field_7878 Lnet/minecraft/class_1844;field_7878:Ljava/util/List;
      named positions Lnet/minecraft/village/VillageState;positions:Ljava/util/List;
    • doors

      private final List<VillageDoor> doors
      Mappings:
      Namespace Name Mixin selector
      official d Lth;d:Ljava/util/List;
      intermediary field_7879 Lnet/minecraft/class_1844;field_7879:Ljava/util/List;
      named doors Lnet/minecraft/village/VillageState;doors:Ljava/util/List;
    • villages

      private final List<Village> villages
      Mappings:
      Namespace Name Mixin selector
      official e Lth;e:Ljava/util/List;
      intermediary field_7880 Lnet/minecraft/class_1844;field_7880:Ljava/util/List;
      named villages Lnet/minecraft/village/VillageState;villages:Ljava/util/List;
    • tick

      private int tick
      Mappings:
      Namespace Name Mixin selector
      official f Lth;f:I
      intermediary field_7881 Lnet/minecraft/class_1844;field_7881:I
      named tick Lnet/minecraft/village/VillageState;tick:I
  • Constructor Details

    • VillageState

      public VillageState​(String id)
      Mappings:
      Namespace Name Mixin selector
      official <init> Late;<init>(Ljava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_625;<init>(Ljava/lang/String;)V
      named <init> Lnet/minecraft/world/PersistentState;<init>(Ljava/lang/String;)V
    • VillageState

      public VillageState​(World world)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lth;<init>(Ladm;)V
      intermediary <init> Lnet/minecraft/class_1844;<init>(Lnet/minecraft/class_99;)V
      named <init> Lnet/minecraft/village/VillageState;<init>(Lnet/minecraft/world/World;)V
  • Method Details

    • setWorld

      public void setWorld​(World world)
      Mappings:
      Namespace Name Mixin selector
      official a Lth;a(Ladm;)V
      intermediary method_7495 Lnet/minecraft/class_1844;method_7495(Lnet/minecraft/class_99;)V
      named setWorld Lnet/minecraft/village/VillageState;setWorld(Lnet/minecraft/world/World;)V
    • method_7497

      public void method_7497​(BlockPos blockPos)
      Mappings:
      Namespace Name Mixin selector
      official a Lth;a(Lcj;)V
      intermediary method_7497 Lnet/minecraft/class_1844;method_7497(Lnet/minecraft/class_1372;)V
      named method_7497 Lnet/minecraft/village/VillageState;method_7497(Lnet/minecraft/util/math/BlockPos;)V
    • method_7494

      public void method_7494()
      Mappings:
      Namespace Name Mixin selector
      official a Lth;a()V
      intermediary method_7494 Lnet/minecraft/class_1844;method_7494()V
      named method_7494 Lnet/minecraft/village/VillageState;method_7494()V
    • method_7504

      private void method_7504()
      Mappings:
      Namespace Name Mixin selector
      official e Lth;e()V
      intermediary method_7504 Lnet/minecraft/class_1844;method_7504()V
      named method_7504 Lnet/minecraft/village/VillageState;method_7504()V
    • method_7500

      public List<Village> method_7500()
      Mappings:
      Namespace Name Mixin selector
      official b Lth;b()Ljava/util/List;
      intermediary method_7500 Lnet/minecraft/class_1844;method_7500()Ljava/util/List;
      named method_7500 Lnet/minecraft/village/VillageState;method_7500()Ljava/util/List;
    • method_7498

      public Village method_7498​(BlockPos blockPos, int int2)
      Mappings:
      Namespace Name Mixin selector
      official a Lth;a(Lcj;I)Ltf;
      intermediary method_7498 Lnet/minecraft/class_1844;method_7498(Lnet/minecraft/class_1372;I)Lnet/minecraft/class_1841;
      named method_7498 Lnet/minecraft/village/VillageState;method_7498(Lnet/minecraft/util/math/BlockPos;I)Lnet/minecraft/village/Village;
    • method_7506

      private void method_7506()
      Mappings:
      Namespace Name Mixin selector
      official f Lth;f()V
      intermediary method_7506 Lnet/minecraft/class_1844;method_7506()V
      named method_7506 Lnet/minecraft/village/VillageState;method_7506()V
    • method_7508

      private void method_7508()
      Mappings:
      Namespace Name Mixin selector
      official g Lth;g()V
      intermediary method_7508 Lnet/minecraft/class_1844;method_7508()V
      named method_7508 Lnet/minecraft/village/VillageState;method_7508()V
    • method_7501

      private void method_7501​(BlockPos blockPos)
      Mappings:
      Namespace Name Mixin selector
      official b Lth;b(Lcj;)V
      intermediary method_7501 Lnet/minecraft/class_1844;method_7501(Lnet/minecraft/class_1372;)V
      named method_7501 Lnet/minecraft/village/VillageState;method_7501(Lnet/minecraft/util/math/BlockPos;)V
    • method_7502

      private VillageDoor method_7502​(BlockPos blockPos)
      Mappings:
      Namespace Name Mixin selector
      official c Lth;c(Lcj;)Lte;
      intermediary method_7502 Lnet/minecraft/class_1844;method_7502(Lnet/minecraft/class_1372;)Lnet/minecraft/class_1840;
      named method_7502 Lnet/minecraft/village/VillageState;method_7502(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/village/VillageDoor;
    • method_7503

      private void method_7503​(BlockPos blockPos)
      Mappings:
      Namespace Name Mixin selector
      official d Lth;d(Lcj;)V
      intermediary method_7503 Lnet/minecraft/class_1844;method_7503(Lnet/minecraft/class_1372;)V
      named method_7503 Lnet/minecraft/village/VillageState;method_7503(Lnet/minecraft/util/math/BlockPos;)V
    • method_7499

      private int method_7499​(BlockPos blockPos, Direction direction, int int2)
      Mappings:
      Namespace Name Mixin selector
      official a Lth;a(Lcj;Lcq;I)I
      intermediary method_7499 Lnet/minecraft/class_1844;method_7499(Lnet/minecraft/class_1372;Lnet/minecraft/class_1383;I)I
      named method_7499 Lnet/minecraft/village/VillageState;method_7499(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;I)I
    • method_7505

      private boolean method_7505​(BlockPos blockPos)
      Mappings:
      Namespace Name Mixin selector
      official e Lth;e(Lcj;)Z
      intermediary method_7505 Lnet/minecraft/class_1844;method_7505(Lnet/minecraft/class_1372;)Z
      named method_7505 Lnet/minecraft/village/VillageState;method_7505(Lnet/minecraft/util/math/BlockPos;)Z
    • method_7507

      private boolean method_7507​(BlockPos blockPos)
      Mappings:
      Namespace Name Mixin selector
      official f Lth;f(Lcj;)Z
      intermediary method_7507 Lnet/minecraft/class_1844;method_7507(Lnet/minecraft/class_1372;)Z
      named method_7507 Lnet/minecraft/village/VillageState;method_7507(Lnet/minecraft/util/math/BlockPos;)Z
    • fromTag

      public void fromTag​(CompoundTag tag)
      Specified by:
      fromTag in class PersistentState
      Mappings:
      Namespace Name Mixin selector
      official a Late;a(Ldn;)V
      intermediary method_1889 Lnet/minecraft/class_625;method_1889(Lnet/minecraft/class_1405;)V
      named fromTag Lnet/minecraft/world/PersistentState;fromTag(Lnet/minecraft/nbt/CompoundTag;)V
    • toTag

      public void toTag​(CompoundTag tag)
      Specified by:
      toTag in class PersistentState
      Mappings:
      Namespace Name Mixin selector
      official b Late;b(Ldn;)V
      intermediary method_1891 Lnet/minecraft/class_625;method_1891(Lnet/minecraft/class_1405;)V
      named toTag Lnet/minecraft/world/PersistentState;toTag(Lnet/minecraft/nbt/CompoundTag;)V
    • getId

      public static String getId​(Dimension dimension)
      Mappings:
      Namespace Name Mixin selector
      official a Lth;a(Lanm;)Ljava/lang/String;
      intermediary method_7496 Lnet/minecraft/class_1844;method_7496(Lnet/minecraft/class_411;)Ljava/lang/String;
      named getId Lnet/minecraft/village/VillageState;getId(Lnet/minecraft/world/dimension/Dimension;)Ljava/lang/String;