- All Superinterfaces:
CopyableDataHolder
, DataHolder
, DataHolder.Mutable
, DataSerializable
, Entity
, EntityProjectileSource
, HoverEventSource<HoverEvent.ShowEntity>
, Identifiable
, Locatable
, MinecartLike
, ProjectileSource
, RandomProvider
, SerializableDataHolder
, SerializableDataHolder.Mutable
, Sound.Emitter
, ValueContainer
- All Known Subinterfaces:
CarrierMinecart<M>
, ChestMinecart
, CommandBlockMinecart
, FurnaceMinecart
, HopperMinecart
, SpawnerMinecart
, TNTMinecart
-
-
Method Summary
Methods inherited from interface org.spongepowered.api.data.DataHolder.Mutable
copyFrom, copyFrom, offer, offer, offer, offer, offerAll, offerAll, offerAll, offerAll, offerAll, offerAll, offerSingle, offerSingle, offerSingle, offerSingle, remove, remove, remove, removeAll, removeAll, removeAll, removeAll, removeAll, removeAll, removeKey, removeKey, removeSingle, removeSingle, transform, transform, tryOffer, tryOffer, tryOffer, undo
Methods inherited from interface org.spongepowered.api.entity.Entity
age, asHoverEvent, baseSize, baseVehicle, boundingBox, canSee, copy, createArchetype, createSnapshot, creator, customName, customNameVisible, damage, damage, direction, displayName, eyeHeight, eyePosition, fallDistance, fireImmuneTicks, fireTicks, glowing, gravityAffected, height, invisible, invulnerabilityTicks, invulnerable, isLoaded, isRemoved, isTransient, lookAt, maxAir, nearbyEntities, nearbyEntities, notifier, onGround, passengers, position, remainingAir, remove, rotation, scale, scoreboardTags, setLocation, setLocationAndRotation, setLocationAndRotation, setPosition, setRotation, setScale, setTransform, silent, sneaking, sprinting, swiftness, transferToWorld, transferToWorld, transform, type, vanishState, vehicle, velocity, wet
Methods inherited from interface org.spongepowered.api.data.value.ValueContainer
get, getDouble, getInt, getKeys, getLong, getOrElse, getOrNull, getValue, getValues, require, requireValue, supports, supports
-
Method Details
-
blockOffset
- Returns:
- The represented block's offset of the minecart
-
block
- Returns:
- The block state of the block occupied minecart