Interface AppendStaticModifier

All Superinterfaces:
BlockEntityModifier, Wrapper

@NullMarked @AsOf("3.4.0") public interface AppendStaticModifier extends BlockEntityModifier
Merges fixed data into the block entity. Wyck has no NBT model, so the data is carried as SNBT and parsed when the modifier reaches Minecraft.
Since:
3.4.0
See Also:
  • Method Details

    • snbt

      @AsOf("3.4.0") String snbt()
      The data merged into the block entity.
      Returns:
      the data, as SNBT
      Since:
      3.4.0
    • of

      @AsOf("3.4.0") static AppendStaticModifier of(String snbt)
      Creates a new append-static modifier.
      Parameters:
      snbt - the data, as SNBT, for example {CustomName:'"Tomb"'}
      Returns:
      the modifier
      Since:
      3.4.0