Class MarkerStick

java.lang.Object
de.z0rdak.yawp.core.stick.AbstractStick
de.z0rdak.yawp.core.stick.MarkerStick
All Implemented Interfaces:
INbtSerializable<net.minecraft.nbt.CompoundTag>

public class MarkerStick extends AbstractStick implements INbtSerializable<net.minecraft.nbt.CompoundTag>
  • Constructor Details

    • MarkerStick

      public MarkerStick(net.minecraft.resources.ResourceKey<net.minecraft.world.level.Level> dim)
    • MarkerStick

      public MarkerStick(net.minecraft.nbt.CompoundTag nbt)
  • Method Details

    • cycleMode

      public void cycleMode()
      Specified by:
      cycleMode in class AbstractStick
    • reset

      public void reset()
    • getDimension

      public net.minecraft.resources.ResourceKey<net.minecraft.world.level.Level> getDimension()
    • checkValidArea

      public boolean checkValidArea()
    • getAreaType

      public AreaType getAreaType()
    • setAreaType

      public void setAreaType(AreaType areaType)
    • isValidArea

      public boolean isValidArea()
    • getMarkedBlocks

      public List<net.minecraft.core.BlockPos> getMarkedBlocks()
    • addMarkedBlock

      public void addMarkedBlock(net.minecraft.core.BlockPos pos)
    • serializeNBT

      public net.minecraft.nbt.CompoundTag serializeNBT()
      Specified by:
      serializeNBT in interface INbtSerializable<net.minecraft.nbt.CompoundTag>
      Overrides:
      serializeNBT in class AbstractStick
    • deserializeNBT

      public void deserializeNBT(net.minecraft.nbt.CompoundTag nbt)
      Specified by:
      deserializeNBT in interface INbtSerializable<net.minecraft.nbt.CompoundTag>
      Overrides:
      deserializeNBT in class AbstractStick