Interface CopyableBuilder<T,B extends CopyableBuilder<T,B>>

All Known Subinterfaces:
AdvancementCriterion.BaseBuilder<T,B>, AdvancementCriterion.Builder, AttackLivingGoal.Builder, AvoidLivingGoal.Builder, Ban.Builder, BannerPatternLayer.Builder, BiomeTemplate.Builder, BlockEntityArchetype.Builder, BlockSnapshot.Builder, BlockState.Builder, CarverTemplate.Builder, ChatTypeTemplate.Builder, CheckerboardBiomeConfig.Builder, DamageSource.Builder, DamageTypeTemplate.Builder, DataHolderBuilder<H,B>, DataHolderBuilder.Immutable<H,B>, DataHolderBuilder.Mutable<H,B>, DataPackEntryBuilder<T,TT,B>, DensityFunctionTemplate.Builder, DisplayInfo.Builder, Enchantment.Builder, EndStyleBiomeConfig.Builder, EntityArchetype.Builder, EntitySnapshot.Builder, Explosion.Builder, FeatureTemplate.Builder, FilteredTrigger.Builder<C>, FindNearestAttackableTargetGoal.Builder, FireworkEffect.Builder, FlatGeneratorConfig.Builder, FluidStack.Builder, FluidStackSnapshot.Builder, FluidState.Builder, GoalBuilder<O,G,B>, InventoryTransactionResult.Builder, InventoryTransactionResult.Builder.PollBuilder, ItemStack.Builder, ItemStackGenerator.Builder, JigsawPoolTemplate.Builder, KeyValueMatcher.Builder<V>, LocatableBlock.Builder, LookAtGoal.Builder, LookRandomlyGoal.Builder, MultiNoiseBiomeConfig.Builder, NoiseConfig.Builder, NoiseGeneratorConfigTemplate.Builder, NoiseTemplate.Builder, Objective.Builder, PaginationList.Builder, ParticleEffect.Builder, PlacedFeatureTemplate.Builder, PotionEffect.Builder, ProcessorListTemplate.Builder, RandomWalkingGoal.Builder, RangedAttackAgainstAgentGoal.Builder, RunAroundLikeCrazyGoal.Builder, Schematic.Builder, SchematicTemplate.Builder, ScoreAdvancementCriterion.Builder, Scoreboard.Builder, SerializableDataHolderBuilder<H,B>, SerializableDataHolderBuilder.Immutable<H,B>, SerializableDataHolderBuilder.Mutable<H,B>, State.Builder<S,B>, StateMatcher.Builder<S,T>, StructureSetTemplate.Builder, StructureTemplate.Builder, SwimGoal.Builder, TabListEntry.Builder, TargetGoal.Builder<A,B>, Task.Builder, Team.Builder, TradeOffer.Builder, TradeOfferGenerator.Builder, Trigger.Builder<C>, WorldBorder.Builder, WorldGenerationConfig.Builder, WorldTemplate.Builder, WorldTypeTemplate.Builder
All Known Implementing Classes:
Cause.Builder, DamageModifier.Builder, DataTransactionResult.Builder, EventContext.Builder, RespawnLocation.Builder

public interface CopyableBuilder<T,B extends CopyableBuilder<T,B>>
  • Method Summary

    Modifier and Type
    Method
    Description
    from(T value)
    Resets this builder to the values of the given built object.
  • Method Details

    • from

      B from(T value)
      Resets this builder to the values of the given built object.
      Parameters:
      value - The built object
      Returns:
      This builder, for chaining