| パッケージ | 説明 |
|---|---|
| org.bukkit |
More generalized classes in the API.
|
| org.bukkit.block |
Classes used to manipulate the voxels in a
world,
including special states. |
| org.bukkit.entity |
Interfaces for non-voxel objects that can exist in a
world, including all players, monsters, projectiles, etc. |
| org.bukkit.event.entity | |
| org.bukkit.event.player | |
| org.bukkit.material |
Classes that represents various voxel types and states.
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
Entity |
World.spawnEntity(Location loc,
EntityType type)
Creates a entity at the given
Location |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
EntityType |
CreatureSpawner.getSpawnedType()
Get the spawner's creature type.
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
void |
CreatureSpawner.setSpawnedType(EntityType creatureType)
Set the spawner's creature type.
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
static EntityType |
EntityType.fromId(int id)
非推奨です。
Magic value
|
static EntityType |
EntityType.fromName(String name)
非推奨です。
Magic value
|
EntityType |
Entity.getType()
Get the type of the entity.
|
static EntityType |
EntityType.valueOf(String name)
指定した名前を持つこの型の列挙型定数を返します。
|
static EntityType[] |
EntityType.values()
この列挙型の定数を含む配列を宣言されている順序で返します。
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
void |
Player.decrementStatistic(Statistic statistic,
EntityType entityType)
Decrements the given statistic for this player for the given entity.
|
void |
Player.decrementStatistic(Statistic statistic,
EntityType entityType,
int amount)
Decrements the given statistic for this player for the given entity.
|
int |
Player.getStatistic(Statistic statistic,
EntityType entityType)
Gets the value of the given statistic for this player.
|
void |
Player.incrementStatistic(Statistic statistic,
EntityType entityType)
Increments the given statistic for this player for the given entity.
|
void |
Player.incrementStatistic(Statistic statistic,
EntityType entityType,
int amount)
Increments the given statistic for this player for the given entity.
|
void |
Player.setStatistic(Statistic statistic,
EntityType entityType,
int newValue)
Sets the given statistic for this player for the given entity.
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
EntityType |
EntityEvent.getEntityType()
Gets the EntityType of the Entity involved in this event.
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
EntityType |
PlayerStatisticIncrementEvent.getEntityType()
Gets the EntityType if
getStatistic() is an
entity statistic otherwise returns null. |
EntityType |
PlayerEggThrowEvent.getHatchingType()
Get the type of the mob being hatched (EntityType.CHICKEN by default)
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
void |
PlayerEggThrowEvent.setHatchingType(EntityType hatchType)
Change the type of mob being hatched by the egg
|
| コンストラクタと説明 |
|---|
PlayerEggThrowEvent(Player player,
Egg egg,
boolean hatching,
byte numHatches,
EntityType hatchingType) |
PlayerStatisticIncrementEvent(Player player,
Statistic statistic,
int initialValue,
int newValue,
EntityType entityType) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
EntityType |
SpawnEgg.getSpawnedType()
非推奨です。
This is now stored in
ItemMeta. See SPIGOT-1592. |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
void |
SpawnEgg.setSpawnedType(EntityType type)
非推奨です。
This is now stored in
ItemMeta. See SPIGOT-1592. |
| コンストラクタと説明 |
|---|
SpawnEgg(EntityType type) |
Copyright © 2016. All rights reserved.