promotional bannermobile promotional banner

[TACZ] Prop Hunt

tacz-prophunt-prop-hunt-block-disguise-weapons
Back to Files

prophunt-1.0.8.jar

File nameprophunt-1.0.8.jar
Uploader
arginou57arginou57
Uploaded
Nov 25, 2025
Downloads
3.2K
Size
1.1 MB
Mod Loaders
NeoForge
File ID
7262187
Type
R
Release
Supported game versions
  • 1.21.1

Curse Maven Snippet

NeoForge

implementation "curse.maven:tacz-prop-hunt-1389573:7262187"

Learn more about Curse Maven

What's new

 

 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

This mod has no additional files