net.minecraft.world.level.saveddata.maps

public class MapItemSavedData

extends SavedData

eqt
net.minecraft.world.level.saveddata.maps.MapItemSavedData
net.minecraft.class_22
net.minecraft.unmapped.C_nvpllgmg
net.minecraft.item.map.MapState
net.minecraft.item.map.MapState
net.minecraft.src.C_2771_
net.minecraft.world.level.saveddata.maps.WorldMap

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
i
LOGGER
field_25019
f_suauwumq
LOGGER
LOGGER
f_77895_
private static final int
j
MAP_SIZE
field_31832
f_waotwiun
SIZE
MAP_SIZE
f_164765_
private static final int
k
HALF_MAP_SIZE
field_31833
f_wuekvxoq
SIZE_HALF
HALF_MAP_SIZE
f_164766_
public static final int
a
MAX_SCALE
field_31831
f_mekjksec
MAX_SCALE
MAX_SCALE
f_164764_
public static final int
b
TRACKED_DECORATION_LIMIT
field_33991
f_nbfirpku
MAX_DECORATIONS
TRACKED_ICONS_LIMIT
f_181307_
private static final String
l
FRAME_PREFIX
field_52316
f_jzdyvmbp
FRAME_PREFIX
PREFIX
f_336663_
public final int
c
centerX
field_116
f_yxrdemyc
centerX
centerX
f_256718_
public final int
d
centerZ
field_115
f_fcobggon
centerZ
centerZ
f_256789_
public final ResourceKey<Level>
e
dimension
field_118
f_uezzsfkt
dimension
dimension
f_77887_
private final boolean
m
trackingPosition
field_114
f_savbnbwc
showDecorations
showIcons
f_77888_
private final boolean
n
unlimitedTracking
field_113
f_vcpnfizu
unlimitedTracking
unlimitedTracking
f_77889_
public final byte
f
scale
field_119
f_glnqmijg
scale
scale
f_77890_
public byte[]
g
colors
field_122
f_lljtbqgk
colors
colors
f_77891_
public final boolean
h
locked
field_17403
f_lzfvsfpy
locked
locked
f_77892_
private final List<MapItemSavedData$HoldingPlayer>
o
carriedBy
field_112
f_jhhmhpdb
updateTrackers
updateTrackers
f_77893_
private final Map<Player, MapItemSavedData$HoldingPlayer>
p
carriedByPlayers
field_120
f_udsecego
updateTrackersByPlayer
updateTrackersByPlayer
f_77896_
private final Map<String, MapBanner>
q
bannerMarkers
field_123
f_buaowhbz
banners
banners
f_77897_
final Map<String, MapDecoration>
r
decorations
field_117
f_wpkjwpqk
decorations
icons
f_77894_
private final Map<String, MapFrame>
s
frameMarkers
field_121
f_lmuqttwe
frames
frames
f_77898_
private int
t
trackedDecorationCount
field_33992
f_vbtumzzu
decorationCount
trackedIconsCount
f_181308_

Constructor summary

ModifierConstructor
private (int centerX, int centerZ, byte scale, boolean showDecorations, boolean unlimitedTracking, boolean locked, ResourceKey<Level> dimension)

Method summary

Modifier and TypeMethod
public static SavedData$Factory<MapItemSavedData>
a()
factory()
method_52611()
m_wcbyhnby()
getPersistentStateType()
getFactory()
m_295558_()
public static MapItemSavedData
a(double arg0, double arg1, byte arg2, boolean arg3, boolean arg4, akq<dcw> arg5)
createFresh(double arg0, double arg1, byte arg2, boolean arg3, boolean arg4, ResourceKey<Level> arg5)
method_32363(double arg0, double arg1, byte arg2, boolean arg3, boolean arg4, class_5321<class_1937> arg5)
m_tqgjniev(double arg0, double arg1, byte arg2, boolean arg3, boolean arg4, C_xhhleach<C_cdctfzbn> arg5)
of(double centerX, double centerZ, byte scale, boolean showDecorations, boolean unlimitedTracking, RegistryKey<World> dimension)
of(double centerX, double centerZ, byte scale, boolean showIcons, boolean unlimitedTracking, RegistryKey<World> dimension)
m_164780_(double p_164781_, double p_164783_, byte p_164785_, boolean p_164786_, boolean arg4, C_5264_<C_1596_> arg5)
public static MapItemSavedData
a(byte arg0, boolean arg1, akq<dcw> arg2)
createForClient(byte arg0, boolean arg1, ResourceKey<Level> arg2)
method_32362(byte arg0, boolean arg1, class_5321<class_1937> arg2)
m_gqapzrbp(byte arg0, boolean arg1, C_xhhleach<C_cdctfzbn> arg2)
of(byte scale, boolean locked, RegistryKey<World> dimension)
of(byte scale, boolean showIcons, RegistryKey<World> dimension)
m_164776_(byte p_164777_, boolean p_164778_, C_5264_<C_1596_> p_164779_)
public static MapItemSavedData
b(ub arg0, jo$a arg1)
load(CompoundTag arg0, HolderLookup$Provider arg1)
method_32371(class_2487 arg0, class_7225$class_7874 arg1)
m_kwgphzej(C_hhlwcnih arg0, C_vtbxyypo$C_etmlgbig arg1)
fromNbt(NbtCompound nbt, RegistryWrapper$WrapperLookup registryLookup)
fromNbt(NbtCompound nbt, HolderLookup$Provider provider)
m_164807_(C_4917_ p_164808_, C_213466_$C_254607_ p_332149_)
public CompoundTag
a(ub arg0, jo$a arg1)
save(CompoundTag arg0, HolderLookup$Provider arg1)
method_75(class_2487 arg0, class_7225$class_7874 arg1)
m_qxqywuwc(C_hhlwcnih arg0, C_vtbxyypo$C_etmlgbig arg1)
writeNbt(NbtCompound arg0, RegistryWrapper$WrapperLookup arg1)
writeNbt(NbtCompound arg0, HolderLookup$Provider arg1)
m_7176_(C_4917_ p_327825_, C_213466_$C_254607_ arg1)
public MapItemSavedData
b()
locked()
method_32361()
m_optiiifz()
copy()
copy()
m_164775_()
public MapItemSavedData
e()
scaled()
method_32364()
m_wzdireis()
zoomOut()
zoomOut()
m_164787_()
private static Predicate<ItemStack>
a(cuq arg0)
mapMatcher(ItemStack arg0)
method_55784(class_1799 arg0)
m_laaivkum(C_sddaxwyk arg0)
getEqualPredicate(ItemStack stack)
getMatchingMapPredicate(ItemStack map)
m_322359_(C_1391_ p_331084_)
public void
a(cmx arg0, cuq arg1)
tickCarriedBy(Player arg0, ItemStack arg1)
method_102(class_1657 arg0, class_1799 arg1)
m_pwrbjcks(C_jzrpycqo arg0, C_sddaxwyk arg1)
update(PlayerEntity player, ItemStack stack)
update(PlayerEntity player, ItemStack stack)
m_77918_(C_1141_ p_77920_, C_1391_ arg1)
private void
a(String arg0)
removeDecoration(String arg0)
method_32368(String arg0)
m_mimzmslt(String arg0)
removeDecoration(String id)
removeIcon(String id)
m_164799_(String arg0)
public static void
a(cuq arg0, jd arg1, String arg2, jm<eqo> arg3)
addTargetDecoration(ItemStack arg0, BlockPos arg1, String arg2, Holder<MapDecorationType> arg3)
method_110(class_1799 arg0, class_2338 arg1, String arg2, class_6880<class_9428> arg3)
m_dzadvtca(C_sddaxwyk arg0, C_hynzadkk arg1, String arg2, C_cjzoxshv<C_cfgszdog> arg3)
addDecorationsNbt(ItemStack stack, BlockPos pos, String id, RegistryEntry<MapDecorationType> decorationType)
addDecorationsNbt(ItemStack stack, BlockPos pos, String id, Holder<MapDecorationType> type)
m_77925_(C_1391_ p_77926_, C_4675_ p_77927_, String p_77928_, C_203228_<C_313592_> p_335418_)
private void
a(jm<eqo> arg0, dcx arg1, String arg2, double arg3, double arg4, double arg5, wz arg6)
addDecoration(Holder<MapDecorationType> arg0, LevelAccessor arg1, String arg2, double arg3, double arg4, double arg5, Component arg6)
method_107(class_6880<class_9428> arg0, class_1936 arg1, String arg2, double arg3, double arg4, double arg5, class_2561 arg6)
m_odnefume(C_cjzoxshv<C_cfgszdog> arg0, C_vdvbsyle arg1, String arg2, double arg3, double arg4, double arg5, C_rdaqiwdt arg6)
addDecoration(RegistryEntry<MapDecorationType> type, WorldAccess world, String key, double x, double z, double rotation, Text text)
addIcon(Holder<MapDecorationType> type, WorldAccess world, String key, double x, double z, double rotation, Text text)
m_77937_(C_203228_<C_313592_> p_77939_, C_1598_ p_77940_, String p_77941_, double p_77942_, double p_77944_, double arg5, C_4996_ arg6)
public Packet<?>
a(eqr arg0, cmx arg1)
getUpdatePacket(MapId arg0, Player arg1)
method_100(class_9209 arg0, class_1657 arg1)
m_iiszqazf(C_qqxyyzzm arg0, C_jzrpycqo arg1)
getPlayerMarkerPacket(MapIdComponent mapId, PlayerEntity player)
getPlayerMarkerPacket(MapId mapId, PlayerEntity player)
m_164796_(C_313617_ p_164798_, C_1141_ arg1)
private void
a(int arg0, int arg1)
setColorsDirty(int arg0, int arg1)
method_103(int arg0, int arg1)
m_zeccjedv(int arg0, int arg1)
markDirty(int x, int z)
markDirty(int x, int z)
m_164789_(int p_164791_, int arg1)
private void
i()
setDecorationsDirty()
method_32374()
m_lropqhen()
markDecorationsDirty()
markIconsDirty()
m_164812_()
public MapItemSavedData$HoldingPlayer
a(cmx arg0)
getHoldingPlayer(Player arg0)
method_101(class_1657 arg0)
m_kpdzsvus(C_jzrpycqo arg0)
getPlayerSyncData(PlayerEntity player)
getPlayerSyncData(PlayerEntity player)
m_77916_(C_1141_ arg0)
public boolean
a(dcx arg0, jd arg1)
toggleBanner(LevelAccessor arg0, BlockPos arg1)
method_108(class_1936 arg0, class_2338 arg1)
m_ylhnaolr(C_vdvbsyle arg0, C_hynzadkk arg1)
addBanner(WorldAccess world, BlockPos pos)
addBanner(WorldAccess world, BlockPos pos)
m_77934_(C_1598_ p_77936_, C_4675_ arg1)
public void
a(dcc arg0, int arg1, int arg2)
checkBanners(BlockGetter arg0, int arg1, int arg2)
method_109(class_1922 arg0, int arg1, int arg2)
m_eqbkypzq(C_peaveboq arg0, int arg1, int arg2)
removeBanner(BlockView world, int x, int z)
removeBanner(BlockView world, int x, int z)
m_77930_(C_1559_ p_77932_, int p_77933_, int arg2)
public Collection<MapBanner>
f()
getBanners()
method_35503()
m_euzndggf()
getBanners()
getBanners()
m_164809_()
public void
a(jd arg0, int arg1)
removedFromFrame(BlockPos arg0, int arg1)
method_104(class_2338 arg0, int arg1)
m_mwggkzwl(C_hynzadkk arg0, int arg1)
removeFrame(BlockPos pos, int id)
removeFrame(BlockPos pos, int id)
m_77947_(C_4675_ p_77949_, int arg1)
public boolean
a(int arg0, int arg1, byte arg2)
updateColor(int arg0, int arg1, byte arg2)
method_32365(int arg0, int arg1, byte arg2)
m_vzmkvyyc(int arg0, int arg1, byte arg2)
putColor(int x, int z, byte color)
putColor(int x, int z, byte color)
m_164792_(int p_164794_, int p_164795_, byte arg2)
public void
b(int arg0, int arg1, byte arg2)
setColor(int arg0, int arg1, byte arg2)
method_32370(int arg0, int arg1, byte arg2)
m_zdgciovp(int arg0, int arg1, byte arg2)
setColor(int x, int z, byte color)
setColor(int x, int z, byte color)
m_164803_(int p_164805_, int p_164806_, byte arg2)
public boolean
g()
isExplorationMap()
method_32372()
m_qxeycdem()
hasExplorationMapDecoration()
hasMonumentIcon()
m_164810_()
public void
a(List<eqn> arg0)
addClientSideDecorations(List<MapDecoration> arg0)
method_32369(List<class_20> arg0)
m_ysatbmoj(List<C_lptbbwvu> arg0)
replaceDecorations(List<MapDecoration> decorations)
replaceIcons(List<MapIcon> icons)
m_164801_(List<C_2767_> arg0)
public Iterable<MapDecoration>
h()
getDecorations()
method_32373()
m_whohcmrz()
getDecorations()
getIcons()
m_164811_()
public boolean
a(int arg0)
isTrackedCountOverLimit(int arg0)
method_37343(int arg0)
m_wdgehxge(int arg0)
decorationCountNotLessThan(int decorationCount)
hasMoreTrackedIconsThan(int count)
m_181312_(int arg0)
private static String
b(int arg0)
getFrameKey(int arg0)
method_61169(int arg0)
m_ktifbqoz(int arg0)
getFrameDecorationKey(int id)
getKey(int id)
m_339532_(int p_342097_)