Interface SparkEntity

All Known Subinterfaces:
CorporeaSpark, ManaSpark
All Known Implementing Classes:
CorporeaSparkEntity, ManaSparkEntity, SparkBaseEntity

public interface SparkEntity
An Entity that implements this is considered a Spark.
  • Method Summary

    Modifier and Type
    Method
    Description
    default net.minecraft.world.entity.Entity
     
    net.minecraft.core.BlockPos
     
    net.minecraft.world.item.DyeColor
    Gets the network that this spark is on, or the color it's displaying.
    void
    setNetwork(net.minecraft.world.item.DyeColor color)
     
  • Method Details

    • getAttachPos

      net.minecraft.core.BlockPos getAttachPos()
      Returns:
      The position of the block that this spark is attached to
    • getNetwork

      net.minecraft.world.item.DyeColor getNetwork()
      Gets the network that this spark is on, or the color it's displaying. Sparks may only connect to others of the same network.
    • setNetwork

      void setNetwork(net.minecraft.world.item.DyeColor color)
    • entity

      default net.minecraft.world.entity.Entity entity()
      Returns:
      this spark as an Entity