| net.gtaun.shoebill.object.Pickup |
| Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| int | INVALID_ID | ||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| abstract static Pickup |
create(int modelId, int type, Location loc)
Create a Pickup with params.
| ||||||||||
| abstract static Pickup |
create(int modelId, int type, float x, float y, float z, EventHandler<PlayerPickupEvent> handler)
Create a Pickup with params.
| ||||||||||
| abstract static Pickup |
create(int modelId, int type, float x, float y, float z, int worldId)
Create a Pickup with params.
| ||||||||||
| abstract static Pickup |
create(int modelId, int type, Location loc, EventHandler<PlayerPickupEvent> handler)
Create a Pickup with params.
| ||||||||||
| abstract static Pickup |
create(int modelId, int type, float x, float y, float z)
Create a Pickup with params.
| ||||||||||
| abstract static Pickup |
create(int modelId, int type, float x, float y, float z, int worldId, EventHandler<PlayerPickupEvent> handler)
Create a Pickup with params.
| ||||||||||
| abstract static Pickup |
get(int id)
Gets a Pickup by its Id
| ||||||||||
| abstract static Collection<Pickup> |
get()
Gets a Collection of all available Pickups.
| ||||||||||
| abstract int |
getId()
Gets the Id from the Pickup.
| ||||||||||
| abstract Location |
getLocation()
Gets the Location of the Pickup
| ||||||||||
| abstract int |
getModelId()
Gets the Modelid of the Pickup
| ||||||||||
| abstract int |
getType()
Gets the Type of the Pickup
| ||||||||||
| abstract boolean | isStatic() | ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From interface
net.gtaun.shoebill.object.Destroyable
| |||||||||||
From interface
net.gtaun.shoebill.object.Proxyable
| |||||||||||
Create a Pickup with params. If the Creation fails, it will throw a CreationFailedException.
| modelId | Modelid of the Pickup. |
|---|---|
| type | Type of the Pickup. |
| loc | Location where the Pickup should be. |
| CreationFailedException |
|---|
Create a Pickup with params. If the Creation fails, it will throw a CreationFailedException.
| modelId | Modelid of the Pickup. |
|---|---|
| type | Type of the Pickup. |
| x | X-Pos where the Pickup should be. |
| y | Y-Pos where the Pickup should be. |
| z | Z-Pos where the Pickup should be. |
| handler | The called event. |
| CreationFailedException |
|---|
Create a Pickup with params. If the Creation fails, it will throw a CreationFailedException.
| modelId | Modelid of the Pickup. |
|---|---|
| type | Type of the Pickup. |
| x | X-Pos where the Pickup should be. |
| y | Y-Pos where the Pickup should be. |
| z | Z-Pos where the Pickup should be. |
| worldId | Worldid where the Pickup should be. |
| CreationFailedException |
|---|
Create a Pickup with params. If the Creation fails, it will throw a CreationFailedException.
| modelId | Modelid of the Pickup. |
|---|---|
| type | Type of the Pickup. |
| loc | Location where the Pickup should be. |
| handler | The called event. |
| CreationFailedException |
|---|
Create a Pickup with params. If the Creation fails, it will throw a CreationFailedException.
| modelId | Modelid of the Pickup. |
|---|---|
| type | Type of the Pickup. |
| x | X-Pos where the Pickup should be. |
| y | Y-Pos where the Pickup should be. |
| z | Z-Pos where the Pickup should be. |
| CreationFailedException |
|---|
Create a Pickup with params. If the Creation fails, it will throw a CreationFailedException.
| modelId | Modelid of the Pickup. |
|---|---|
| type | Type of the Pickup. |
| x | X-Pos where the Pickup should be. |
| y | Y-Pos where the Pickup should be. |
| z | Z-Pos where the Pickup should be. |
| worldId | Worldid where the Pickup should be. |
| handler | The called event |
| CreationFailedException |
|---|
Gets a Pickup by its Id
| id | Id of the Pickup |
|---|
Gets a Collection of all available Pickups.
Gets the Id from the Pickup.
Gets the Modelid of the Pickup
Gets the Type of the Pickup