Class NPCBuilder

java.lang.Object
com.pixelmonmod.pixelmon.entities.npcs.NPCBuilder

public class NPCBuilder extends Object
  • Field Details

    • name

      protected net.minecraft.network.chat.Component name
    • renderingHandler

      protected RenderingHandler renderingHandler
    • interactions

      protected InteractionSet interactions
    • properties

      protected EntityProperties properties
    • position

      protected net.minecraft.world.phys.Vec3 position
    • track

      protected boolean track
    • uuid

      protected UUID uuid
    • party

      protected PartyStorage party
  • Constructor Details

    • NPCBuilder

      protected NPCBuilder()
  • Method Details

    • uuid

      public NPCBuilder uuid(@Nullable @Nullable UUID uuid)
    • name

      public NPCBuilder name(@NotNull @NotNull net.minecraft.network.chat.Component name)
    • renderingHandler

      public NPCBuilder renderingHandler(@NotNull @NotNull RenderingHandler renderingHandler)
    • interactions

      public NPCBuilder interactions(@NotNull @NotNull InteractionSet interactions)
    • party

      public NPCBuilder party(@Nullable @Nullable PartyStorage party)
    • noInteractions

      public NPCBuilder noInteractions()
    • properties

      public NPCBuilder properties(@NotNull @NotNull EntityProperties properties)
    • properties

      public NPCBuilder properties(@NotNull EntityProperties.Builder properties)
    • position

      public NPCBuilder position(@NotNull @NotNull net.minecraft.world.phys.Vec3 position)
    • position

      public NPCBuilder position(@NotNull @NotNull net.minecraft.core.BlockPos position)
    • position

      public NPCBuilder position(double x, double y, double z)
    • track

      public NPCBuilder track()
    • noTracking

      public NPCBuilder noTracking()
    • track

      public NPCBuilder track(boolean track)
    • build

      public NPC build(net.minecraft.world.level.Level level)
    • buildAndSpawn

      public NPC buildAndSpawn(net.minecraft.world.level.Level level)