Class DebugLine

java.lang.Object
net.minestom.server.entity.Entity
ru.dragonestia.msb3.api.entity.debug.DebugRendererEntity
ru.dragonestia.msb3.api.entity.debug.DebugLine
All Implemented Interfaces:
net.kyori.adventure.sound.Sound.Emitter, net.kyori.adventure.text.event.HoverEventSource<net.kyori.adventure.text.event.HoverEvent.ShowEntity>, net.minestom.server.collision.Shape, net.minestom.server.event.EventHandler<net.minestom.server.event.trait.EntityEvent>, net.minestom.server.snapshot.Snapshotable, net.minestom.server.tag.Taggable, net.minestom.server.tag.TagReadable, net.minestom.server.tag.TagWritable, net.minestom.server.thread.AcquirableSource<net.minestom.server.entity.Entity>, net.minestom.server.Tickable, net.minestom.server.timer.Schedulable, net.minestom.server.Viewable, OffsetPosition

public class DebugLine extends DebugRendererEntity
  • Field Summary

    Fields inherited from class net.minestom.server.entity.Entity

    boundingBox, collidesWithEntities, currentChunk, entityMeta, entityType, gravityTickCount, hasPhysics, instance, lastSyncedPosition, lastVelocityWasZero, metadata, onGround, position, preventBlockPlacement, previousPosition, removed, trackingUpdate, vehicle, velocity, viewEngine, viewers
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    DebugLine(String layerName, net.minestom.server.coordinate.Vec normalWithLength, net.minestom.server.instance.block.Block block)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static DebugLine
    spawn(net.minestom.server.instance.Instance instance, net.minestom.server.coordinate.Point start, net.minestom.server.coordinate.Point end, net.minestom.server.instance.block.Block block, String layerName)
     
    void
    updateBlock(net.minestom.server.instance.block.Block block)
     
    void
    updateNormalWithLength(net.minestom.server.coordinate.Vec newValue)
     

    Methods inherited from class ru.dragonestia.msb3.api.entity.debug.DebugRendererEntity

    addNestedEntity, addNestedEntity, getOffsetPosition, remove, setInstance, setOffsetPosition, teleport

    Methods inherited from class net.minestom.server.entity.Entity

    acquirable, addEffect, addPassenger, addViewer, asHoverEvent, autoViewEntities, clearEffects, despawn, editEntityMeta, eventNode, generateId, getAcquirable, getActiveEffects, getAerodynamics, getAliveTicks, getAttachEntityPacket, getBoundingBox, getChunk, getCustomName, getDistance, getDistance, getDistanceSquared, getDistanceSquared, getEffect, getEffectLevel, getEntityId, getEntityMeta, getEntityType, getEyeHeight, getGravityTickCount, getInstance, getLeashedEntities, getLeashHolder, getLineOfSight, getLineOfSightEntity, getMetadataPacket, getPassengers, getPassengersPacket, getPose, getPosition, getPreviousPosition, getSynchronizationTicks, getUuid, getVehicle, getVelocity, getVelocityForPacket, getVelocityPacket, getViewers, hasEffect, hasEntityCollision, hasLineOfSight, hasLineOfSight, hasNoGravity, hasPassenger, hasPredictableViewers, hasVelocity, intersectBox, intersectBoxSwept, isActive, isAutoViewable, isCustomNameVisible, isGlowing, isInvisible, isOccluded, isOnFire, isOnGround, isRemoved, isSilent, isSneaking, isSprinting, lookAt, lookAt, movementTick, preventBlockPlacement, refreshCoordinate, refreshCurrentChunk, refreshPosition, refreshPosition, refreshPosition, relativeEnd, relativeStart, remove, removeEffect, removePassenger, removeViewer, scheduleNextTick, scheduler, scheduleRemove, scheduleRemove, setAerodynamics, setAutoViewable, setAutoViewEntities, setBoundingBox, setBoundingBox, setCustomName, setCustomNameVisible, setGlowing, setInstance, setInstance, setInvisible, setLeashHolder, setNoGravity, setPose, setPositionInternal, setSilent, setSneaking, setSprinting, setSynchronizationTicks, setVelocity, setView, spawn, switchEntityType, synchronizeNextTick, synchronizePosition, tagHandler, takeKnockback, teleport, teleport, teleport, teleport, teleport, tick, triggerStatus, update, updateCollisions, updateNewViewer, updateOldViewer, updatePose, updateSnapshot, updateViewableRule, updateViewableRule, updateViewerRule, updateViewerRule

    Methods inherited from class java.lang.Object

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

    Methods inherited from interface net.kyori.adventure.text.event.HoverEventSource

    asHoverEvent

    Methods inherited from interface net.minestom.server.collision.Shape

    intersectEntity, isFaceFull

    Methods inherited from interface net.minestom.server.tag.Taggable

    getAndSetTag, getAndUpdateTag, getTag, hasTag, removeTag, setTag, updateAndGetTag, updateTag

    Methods inherited from interface net.minestom.server.Viewable

    getViewersAsAudience, getViewersAsAudiences, isViewer, sendPacketsToViewers, sendPacketsToViewers, sendPacketToViewers, sendPacketToViewersAndSelf
  • Constructor Details

    • DebugLine

      protected DebugLine(String layerName, net.minestom.server.coordinate.Vec normalWithLength, net.minestom.server.instance.block.Block block)
  • Method Details

    • updateNormalWithLength

      public void updateNormalWithLength(net.minestom.server.coordinate.Vec newValue)
    • updateBlock

      public void updateBlock(net.minestom.server.instance.block.Block block)
    • spawn

      public static DebugLine spawn(net.minestom.server.instance.Instance instance, net.minestom.server.coordinate.Point start, net.minestom.server.coordinate.Point end, net.minestom.server.instance.block.Block block, String layerName)