Uses of Class
net.risingworld.api.objects.world.Plant
Packages that use Plant
Package
Description
-
Uses of Plant in net.risingworld.api
Methods in net.risingworld.api that return PlantModifier and TypeMethodDescriptionstatic PlantWorld.createPlant(int typeID, Vector3f worldPosition, Quaternion rotation, Vector3f scale) static PlantWorld.getPlant(long globalID, int cx, int cy, int cz) -
Uses of Plant in net.risingworld.api.events.player.world
Methods in net.risingworld.api.events.player.world that return PlantModifier and TypeMethodDescriptionPlayerCreativeRemoveVegetationEvent.getPlant()PlayerDestroyVegetationEvent.getPlant()PlayerHitVegetationEvent.getPlant()protected PlantPlayerPlaceVegetationEvent.getPlant()Note: This function returns null because the plant had not yet been created at the time of the event!
To access information (like position, rotation etc), please check out the other functions of this eventPlayerRemoveVegetationEvent.getPlant()protected PlantPlayerVegetationEvent.getPlant()Gets the plant. -
Uses of Plant in net.risingworld.api.objects.world
Methods in net.risingworld.api.objects.world that return PlantModifier and TypeMethodDescriptionPlant[]Chunk.getAllPlants()Gets all plants in this chunk (e.g trees, flowers, scrubs etc).