Skip to content

Commit

Permalink
Fix a couple loot-y things (QuiltMC#637)
Browse files Browse the repository at this point in the history
* map MinecraftServer::getReloadableRegistries

* drop 'id' from get/LootTableId in EntityType

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
1 parent b2aa2b7 commit a449f67
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions mappings/net/minecraft/entity/Entity.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -482,6 +482,7 @@ CLASS net/minecraft/unmapped/C_astfners net/minecraft/entity/Entity
METHOD m_kvxkjouy setFireTicks (I)V
ARG 1 ticks
METHOD m_kymkfjov isAttackable ()Z
METHOD m_lajughou getLootTable ()Ljava/util/Optional;
METHOD m_lfjmpwyp hasPlayerRider ()Z
METHOD m_lfpuwmgu removeAllPassengers ()V
METHOD m_lgmmhwrc hasPassenger (Lnet/minecraft/unmapped/C_astfners;)Z
Expand Down
4 changes: 2 additions & 2 deletions mappings/net/minecraft/entity/EntityType.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ CLASS net/minecraft/unmapped/C_ogavsvbr net/minecraft/entity/EntityType
FIELD f_mjmkeute requiredFlags Lnet/minecraft/unmapped/C_czxxrbcp;
FIELD f_nmhdwoib saveable Z
FIELD f_rbjzcosu summonable Z
FIELD f_sjefpzeu lootTableId Ljava/util/Optional;
FIELD f_sjefpzeu lootTable Ljava/util/Optional;
FIELD f_txgmkfug canSpawnInside Lcom/google/common/collect/ImmutableSet;
FIELD f_xwixcoto spawnGroup Lnet/minecraft/unmapped/C_ormqdxci;
FIELD f_yohcyxht fireImmune Z
Expand Down Expand Up @@ -80,7 +80,7 @@ CLASS net/minecraft/unmapped/C_ogavsvbr net/minecraft/entity/EntityType
METHOD m_qprblwyz isSaveable ()Z
METHOD m_qwgbrbqg createDefaultStackSpawnConfig (Lnet/minecraft/unmapped/C_cdctfzbn;Lnet/minecraft/unmapped/C_sddaxwyk;Lnet/minecraft/unmapped/C_jzrpycqo;)Ljava/util/function/Consumer;
ARG 2 player
METHOD m_qxlrmhco getLootTableId ()Ljava/util/Optional;
METHOD m_qxlrmhco getLootTable ()Ljava/util/Optional;
METHOD m_rdswxkej streamFromNbt (Ljava/util/List;Lnet/minecraft/unmapped/C_cdctfzbn;Lnet/minecraft/unmapped/C_bhyaesep;)Ljava/util/stream/Stream;
ARG 0 entityNbtList
ARG 1 world
Expand Down
1 change: 1 addition & 0 deletions mappings/net/minecraft/server/MinecraftServer.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ CLASS net/minecraft/server/MinecraftServer net/minecraft/server/MinecraftServer
METHOD m_bchwkzcc addExtraSystemDetails (Lnet/minecraft/unmapped/C_fprbxnfr;)Lnet/minecraft/unmapped/C_fprbxnfr;
ARG 1 details
METHOD m_bdnrtaut isDemo ()Z
METHOD m_bilggnfr getReloadableRegistries ()Lnet/minecraft/unmapped/C_ihseotxf$C_hnvzydbq;
METHOD m_blfimkeo getLayeredRegistryManager ()Lnet/minecraft/unmapped/C_bcpxdrik;
METHOD m_btuswdlx getProxy ()Ljava/net/Proxy;
METHOD m_buftmakz getScoreboard ()Lnet/minecraft/unmapped/C_orszeavg;
Expand Down

0 comments on commit a449f67

Please sign in to comment.