MCPcopy
hub / github.com/PrismarineJS/mineflayer / fetchEntity

Function fetchEntity

lib/plugins/entities.js:921–923  ·  view source on GitHub ↗
(id)

Source from the content-addressed store, hash-verified

919 }
920
921 function fetchEntity (id) {
922 return bot.entities[id] || (bot.entities[id] = new Entity(id))
923 }
924}
925
926function parseMetadata (metadata, entityMetadata = {}) {

Callers 4

injectFunction · 0.85
addNewPlayerFunction · 0.85
addNewNonPlayerFunction · 0.85
updateAttributesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…