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, BlockDamageSource.Builder, BlockEntityArchetype.Builder, BlockSnapshot.Builder, BlockState.Builder, CheckerboardBiomeConfig.Builder, DamageSource.Builder, DamageSource.DamageSourceBuilder<T,B>, DataHolderBuilder<H,B>, DataHolderBuilder.Immutable<H,B>, DataHolderBuilder.Mutable<H,B>, DisplayInfo.Builder, Enchantment.Builder, EndStyleBiomeConfig.Builder, EntityArchetype.Builder, EntityDamageSource.Builder, EntityDamageSource.EntityDamageSourceBuilder<T,B>, EntitySnapshot.Builder, Explosion.Builder, FallingBlockDamageSource.Builder, FilteredTrigger.Builder<C>, FindNearestAttackableTargetGoal.Builder, FireworkEffect.Builder, FlatGeneratorConfig.Builder, FluidStack.Builder, FluidStackSnapshot.Builder, FluidState.Builder, GoalBuilder<O,G,B>, IndirectEntityDamageSource.AbstractBuilder<T,B>, IndirectEntityDamageSource.Builder, InventoryTransactionResult.Builder, InventoryTransactionResult.Builder.PollBuilder, ItemStack.Builder, ItemStackGenerator.Builder, KeyValueMatcher.Builder<V>, LocatableBlock.Builder, LookAtGoal.Builder, LookRandomlyGoal.Builder, MultiNoiseBiomeConfig.Builder, NoiseConfig.Builder, NoiseGeneratorConfig.Builder, Objective.Builder, PaginationList.Builder, ParticleEffect.Builder, PotionEffect.Builder, RandomWalkingGoal.Builder, RangedAttackAgainstAgentGoal.Builder, RunAroundLikeCrazyGoal.Builder, Schematic.Builder, ScoreAdvancementCriterion.Builder, Scoreboard.Builder, SerializableDataHolderBuilder<H,B>, SerializableDataHolderBuilder.Immutable<H,B>, SerializableDataHolderBuilder.Mutable<H,B>, State.Builder<S,B>, StateMatcher.Builder<S,T>, SwimGoal.Builder, TabListEntry.Builder, TargetGoal.Builder<A,B>, Task.Builder, Team.Builder, TradeOffer.Builder, TradeOfferGenerator.Builder, Trigger.Builder<C>, WorldBorder.Builder, WorldGenerationConfig.Mutable.Builder, WorldTemplate.Builder, WorldTypeTemplate.Builder
All Known Implementing Classes:
AbstractDamageSourceBuilder, AbstractEntityDamageSource.AbstractEntityDamageSourceBuilder, AbstractIndirectEntityDamageSource.AbstractIndirectEntityDamageSourceBuilder, 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