Class NBTQueryManager


  • public class NBTQueryManager
    extends java.lang.Object
    • Field Detail

      • transactionId

        private int transactionId
      • callback

        @Nullable
        private java.util.function.Consumer<CompoundNBT> callback
    • Method Detail

      • handleResponse

        public boolean handleResponse​(int p_211548_1_,
                                      @Nullable
                                      CompoundNBT p_211548_2_)
      • startTransaction

        private int startTransaction​(java.util.function.Consumer<CompoundNBT> p_211546_1_)
      • queryEntityTag

        public void queryEntityTag​(int p_211549_1_,
                                   java.util.function.Consumer<CompoundNBT> p_211549_2_)
      • queryBlockEntityTag

        public void queryBlockEntityTag​(BlockPos p_211547_1_,
                                        java.util.function.Consumer<CompoundNBT> p_211547_2_)