Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/replcraft/lib/world/entity.ts>EntityData

A library to control special structures on the ReplCraft Minecraft server
Latest
interface EntityData
import { type EntityData } from "https://deno.land/x/replcraft@v1.1.0/lib/world/entity.ts";

Internal reprepresentation of an entity in ReplCraft

Properties

type: string

Type of the entity

name: string

Name of the entity

optional
player_uuid: string

UUID of the player this entity relates to

health: number

Current health of the entity

max_health: number

Maximum health of the entity

x: number

Location of the entity

y: number
z: number