Package net.minecraft.item.map
Class MapState
java.lang.Object
net.minecraft.world.PersistentState
net.minecraft.item.map.MapState
public class MapState extends PersistentState
- Mappings:
Namespace Name official atgintermediary net/minecraft/class_627named net/minecraft/item/map/MapState
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classMapState.PlayerUpdateTracker -
Field Summary
Fields Modifier and Type Field Description byte[]colorsbytedimensionIdMap<String,MapIcon>iconsbytescaleList<MapState.PlayerUpdateTracker>updateTrackersprivate Map<PlayerEntity,MapState.PlayerUpdateTracker>updateTrackersByPlayerintxCenterintzCenterFields inherited from class net.minecraft.world.PersistentState
id -
Constructor Summary
-
Method Summary
Modifier and Type Method Description voidfromTag(CompoundTag tag)MapState.PlayerUpdateTrackergetPlayerSyncData(PlayerEntity player)voidmarkDirty(int x, int z)voidmethod_1898(double double2, double double3, int int2)private voidmethod_1900(int int2, World world, String string, double double2, double double3, double double4)Packetmethod_1903(ItemStack itemStack, World world, PlayerEntity playerEntity)voidtoTag(CompoundTag tag)voidupdate(PlayerEntity player, ItemStack stack)Methods inherited from class net.minecraft.world.PersistentState
isDirty, markDirty, setDirty
-
Field Details
-
xCenter
public int xCenter- Mappings:
Namespace Name Mixin selector official bLatg;b:Iintermediary field_2316Lnet/minecraft/class_627;field_2316:Inamed xCenterLnet/minecraft/item/map/MapState;xCenter:I
-
zCenter
public int zCenter- Mappings:
Namespace Name Mixin selector official cLatg;c:Iintermediary field_2317Lnet/minecraft/class_627;field_2317:Inamed zCenterLnet/minecraft/item/map/MapState;zCenter:I
-
dimensionId
public byte dimensionId- Mappings:
Namespace Name Mixin selector official dLatg;d:Bintermediary field_2318Lnet/minecraft/class_627;field_2318:Bnamed dimensionIdLnet/minecraft/item/map/MapState;dimensionId:B
-
scale
public byte scale- Mappings:
Namespace Name Mixin selector official eLatg;e:Bintermediary field_2319Lnet/minecraft/class_627;field_2319:Bnamed scaleLnet/minecraft/item/map/MapState;scale:B
-
colors
public byte[] colors- Mappings:
Namespace Name Mixin selector official fLatg;f:[Bintermediary field_2320Lnet/minecraft/class_627;field_2320:[Bnamed colorsLnet/minecraft/item/map/MapState;colors:[B
-
updateTrackers
- Mappings:
Namespace Name Mixin selector official gLatg;g:Ljava/util/List;intermediary field_2321Lnet/minecraft/class_627;field_2321:Ljava/util/List;named updateTrackersLnet/minecraft/item/map/MapState;updateTrackers:Ljava/util/List;
-
updateTrackersByPlayer
- Mappings:
Namespace Name Mixin selector official iLatg;i:Ljava/util/Map;intermediary field_2323Lnet/minecraft/class_627;field_2323:Ljava/util/Map;named updateTrackersByPlayerLnet/minecraft/item/map/MapState;updateTrackersByPlayer:Ljava/util/Map;
-
icons
- Mappings:
Namespace Name Mixin selector official hLatg;h:Ljava/util/Map;intermediary field_2322Lnet/minecraft/class_627;field_2322:Ljava/util/Map;named iconsLnet/minecraft/item/map/MapState;icons:Ljava/util/Map;
-
-
Constructor Details
-
MapState
- Mappings:
Namespace Name Mixin selector official <init>Late;<init>(Ljava/lang/String;)Vintermediary <init>Lnet/minecraft/class_625;<init>(Ljava/lang/String;)Vnamed <init>Lnet/minecraft/world/PersistentState;<init>(Ljava/lang/String;)V
-
-
Method Details
-
method_1898
public void method_1898(double double2, double double3, int int2)- Mappings:
Namespace Name Mixin selector official aLatg;a(DDI)Vintermediary method_1898Lnet/minecraft/class_627;method_1898(DDI)Vnamed method_1898Lnet/minecraft/item/map/MapState;method_1898(DDI)V
-
fromTag
- Specified by:
fromTagin classPersistentState- Mappings:
Namespace Name Mixin selector official aLate;a(Ldn;)Vintermediary method_1889Lnet/minecraft/class_625;method_1889(Lnet/minecraft/class_1405;)Vnamed fromTagLnet/minecraft/world/PersistentState;fromTag(Lnet/minecraft/nbt/CompoundTag;)V
-
toTag
- Specified by:
toTagin classPersistentState- Mappings:
Namespace Name Mixin selector official bLate;b(Ldn;)Vintermediary method_1891Lnet/minecraft/class_625;method_1891(Lnet/minecraft/class_1405;)Vnamed toTagLnet/minecraft/world/PersistentState;toTag(Lnet/minecraft/nbt/CompoundTag;)V
-
update
- Mappings:
Namespace Name Mixin selector official aLatg;a(Lwn;Lzx;)Vintermediary method_1902Lnet/minecraft/class_627;method_1902(Lnet/minecraft/class_1963;Lnet/minecraft/class_2056;)Vnamed updateLnet/minecraft/item/map/MapState;update(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/item/ItemStack;)V
-
method_1900
private void method_1900(int int2, World world, String string, double double2, double double3, double double4)- Mappings:
Namespace Name Mixin selector official aLatg;a(ILadm;Ljava/lang/String;DDD)Vintermediary method_1900Lnet/minecraft/class_627;method_1900(ILnet/minecraft/class_99;Ljava/lang/String;DDD)Vnamed method_1900Lnet/minecraft/item/map/MapState;method_1900(ILnet/minecraft/world/World;Ljava/lang/String;DDD)V
-
method_1903
- Mappings:
Namespace Name Mixin selector official aLatg;a(Lzx;Ladm;Lwn;)Lff;intermediary method_1903Lnet/minecraft/class_627;method_1903(Lnet/minecraft/class_2056;Lnet/minecraft/class_99;Lnet/minecraft/class_1963;)Lnet/minecraft/class_1457;named method_1903Lnet/minecraft/item/map/MapState;method_1903(Lnet/minecraft/item/ItemStack;Lnet/minecraft/world/World;Lnet/minecraft/entity/player/PlayerEntity;)Lnet/minecraft/network/Packet;
-
markDirty
public void markDirty(int x, int z)- Mappings:
Namespace Name Mixin selector official aLatg;a(II)Vintermediary method_1899Lnet/minecraft/class_627;method_1899(II)Vnamed markDirtyLnet/minecraft/item/map/MapState;markDirty(II)V
-
getPlayerSyncData
- Mappings:
Namespace Name Mixin selector official aLatg;a(Lwn;)Latg$a;intermediary method_1901Lnet/minecraft/class_627;method_1901(Lnet/minecraft/class_1963;)Lnet/minecraft/class_627$class_628;named getPlayerSyncDataLnet/minecraft/item/map/MapState;getPlayerSyncData(Lnet/minecraft/entity/player/PlayerEntity;)Lnet/minecraft/item/map/MapState$PlayerUpdateTracker;
-