promotional bannermobile promotional banner

[TACZ] Prop Hunt

tacz-prophunt-prop-hunt-block-disguise-weapons

File Details

prophunt-1.0.8.jar

  • R
  • Nov 25, 2025
  • 1.07 MB
  • 1.9K
  • 1.21.1
  • NeoForge

File Name

prophunt-1.0.8.jar

Supported Versions

  • 1.21.1

Curse Maven Snippet

NeoForge

implementation "curse.maven:tacz-prop-hunt-1389573:7262187"
Curse Maven does not yet support mods that have disabled 3rd party sharing

Learn more about Curse Maven

 

 Corrections apportées (Version 1.0.8)

  1. Sauvegarde complète de l'inventaire

  - Armure : Les 4 slots d'armure (bottes, jambières, plastron, casque) sont maintenant
  sauvegardés
  - Offhand : Le slot de main secondaire est maintenant sauvegardé
  - Curios : Les slots Curios continuent d'être sauvegardés (si le mod est installé)

  2. Modifications dans PropHuntGame.java

  PlayerInventorySave (lignes 69-81) :
  private static class PlayerInventorySave {
      public final List<ItemStack> inventory;
      public final List<ItemStack> armorInventory; // 4 armor slots
      public final List<ItemStack> offhandInventory; // offhand slot
      public net.minecraft.nbt.ListTag curiosInventory; // Curios inventory data
  }

  savePlayerInventory() : Sauvegarde l'armure et l'offhand en plus de l'inventaire principal

  restorePlayerInventory() : Restaure l'armure et l'offhand en fin de partie

  setupPlayer() : Nettoie explicitement les slots d'armure et offhand au début du jeu