Class EntityMixin

java.lang.Object
dev.jaxydog.astral.mixin.EntityMixin
All Implemented Interfaces:
dev.onyxstudios.cca.api.v3.component.ComponentAccess, net.minecraft.server.command.CommandOutput, net.minecraft.util.Nameable, net.minecraft.world.entity.EntityLike

public abstract class EntityMixin extends Object implements net.minecraft.util.Nameable, net.minecraft.world.entity.EntityLike, net.minecraft.server.command.CommandOutput, dev.onyxstudios.cca.api.v3.component.ComponentAccess
Prevents ground items from being destroyed by preserving lightning, and handles sprayed entity ticking.
Since:
1.4.0
  • Field Summary

    Fields inherited from interface net.minecraft.server.command.CommandOutput

    DUMMY
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    abstract net.minecraft.world.World
    Returns the current world.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface net.minecraft.server.command.CommandOutput

    cannotBeSilenced, sendMessage, shouldBroadcastConsoleToOps, shouldReceiveFeedback, shouldTrackOutput

    Methods inherited from interface dev.onyxstudios.cca.api.v3.component.ComponentAccess

    asComponentProvider, getComponent, syncComponent, syncComponent, syncComponent

    Methods inherited from interface net.minecraft.world.entity.EntityLike

    getBlockPos, getBoundingBox, getId, getUuid, isPlayer, setChangeListener, setRemoved, shouldSave, streamPassengersAndSelf, streamSelfAndPassengers

    Methods inherited from interface net.minecraft.util.Nameable

    getCustomName, getDisplayName, getName, hasCustomName
  • Constructor Details

    • EntityMixin

      public EntityMixin()
  • Method Details

    • getWorld

      public abstract net.minecraft.world.World getWorld()
      Returns the current world.
      Returns:
      The current world.
      Since:
      1.4.0