Interface Copyable

All Known Subinterfaces:
Item, StructuredData<T>
All Known Implementing Classes:
AdventureModePredicate, ArmorTrimMaterial, ArmorTrimPattern, AttributeModifiers1_20_5, AttributeModifiers1_21, Bee, BlockPredicate, BlockStateProperties, ChatType, ChatType.ChatTypeDecoration, Consumable1_21_2, CustomModelData1_21_4, DataItem, DeathProtection, Enchantments, FilterableComponent, FireworkExplosion, Fireworks, FoodProperties1_20_5, Instrument1_21_2, Particle, Particle.ParticleData, PotDecorations, PotionContents, RegistryEntry, StructuredDataContainer, StructuredItem, WrittenBook

public interface Copyable
  • Method Summary

    Modifier and Type
    Method
    Description
     
    static <T> T
    copy(T object)
     
  • Method Details

    • copy

      static <T> T copy(T object)
    • copy

      Object copy()