Package net.citizensnpcs.trait.waypoint
Class EntityMarkers<T>
java.lang.Object
net.citizensnpcs.trait.waypoint.EntityMarkers<T>
A helper class for storing a number of entity markers. By default an entity marker is a non-persisted EnderSignal.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptioncreateMarker(T marker, Location at) Creates and persists (in memory) anEntitymarker.voidvoidremoveMarker(T marker) spawnMarker(World world, Location at) Spawns a markerEntitywithout storing it for later use.
- 
Constructor Details- 
EntityMarkerspublic EntityMarkers()
- 
EntityMarkers
 
- 
- 
Method Details- 
createMarkerCreates and persists (in memory) anEntitymarker.- Parameters:
- marker- the storage marker
- at- the spawn location
- Returns:
- the created entity
 
- 
destroyMarkerspublic void destroyMarkers()
- 
removeMarker
- 
spawnMarkerSpawns a markerEntitywithout storing it for later use.- Parameters:
- world- the world (unused currently)
- at- the location
- Returns:
- the spawned entity
 
 
-