Class DisplayLanternBlockEntity.Occupant

java.lang.Object
net.frozenblock.wilderwild.block.entity.DisplayLanternBlockEntity.Occupant
Enclosing class:
DisplayLanternBlockEntity

public static class DisplayLanternBlockEntity.Occupant extends Object
  • Field Details

    • CODEC

      public static final com.mojang.serialization.Codec<DisplayLanternBlockEntity.Occupant> CODEC
    • LIST_CODEC

      public static final com.mojang.serialization.Codec<List<DisplayLanternBlockEntity.Occupant>> LIST_CODEC
    • pos

      public net.minecraft.world.phys.Vec3 pos
    • color

      public FireflyColor color
    • customName

      public String customName
    • flickers

      public boolean flickers
    • age

      public int age
    • y

      public double y
    • wasNamedNectar

      public boolean wasNamedNectar
  • Constructor Details

    • Occupant

      public Occupant(@NotNull @NotNull net.minecraft.world.phys.Vec3 pos, @NotNull @NotNull FireflyColor color, @NotNull @NotNull String customName, boolean flickers, int age, double y)
  • Method Details

    • tick

      public void tick(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos)
    • getPos

      @NotNull public @NotNull net.minecraft.world.phys.Vec3 getPos()
    • getColor

      @NotNull public @NotNull FireflyColor getColor()
    • getCustomName

      @NotNull public @NotNull String getCustomName()
    • getFlickers

      public boolean getFlickers()
    • getAge

      public int getAge()
    • getY

      public double getY()