接口 DataAccessor

所有已知实现类:
BlockDataAccessor, EntityDataAccessor, StorageDataAccessor

public interface DataAccessor
  • 方法详细资料

    • setData

      void setData(CompoundTag p_139323_) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      抛出:
      com.mojang.brigadier.exceptions.CommandSyntaxException
    • getData

      CompoundTag getData() throws com.mojang.brigadier.exceptions.CommandSyntaxException
      抛出:
      com.mojang.brigadier.exceptions.CommandSyntaxException
    • getModifiedSuccess

      Component getModifiedSuccess()
    • getPrintSuccess

      Component getPrintSuccess(Tag p_139324_)
    • getPrintSuccess

      Component getPrintSuccess(NbtPathArgument.NbtPath p_139320_, double p_139321_, int p_139322_)