CommandSender
, Entity
, InventoryHolder
, Lootable
, Metadatable
, Minecart
, Nameable
, Permissible
, PersistentDataHolder
, ServerOperator
, Vehicle
public interface HopperMinecart extends Minecart, InventoryHolder, Lootable
Entity.Spigot
Modifier and Type | Method | Description |
---|---|---|
boolean |
isEnabled() |
Checks whether or not this Minecart will pick up
items into its inventory.
|
void |
setEnabled(boolean enabled) |
Sets whether this Minecart will pick up items.
|
getName, sendMessage, sendMessage
addPassenger, addScoreboardTag, eject, getBoundingBox, getEntityId, getFacing, getFallDistance, getFireTicks, getHeight, getLastDamageCause, getLocation, getLocation, getMaxFireTicks, getNearbyEntities, getPassenger, getPassengers, getPistonMoveReaction, getPortalCooldown, getPose, getScoreboardTags, getServer, getTicksLived, getType, getUniqueId, getVehicle, getWidth, getWorld, hasGravity, isCustomNameVisible, isDead, isEmpty, isGlowing, isInsideVehicle, isInvulnerable, isOnGround, isPersistent, isSilent, isValid, leaveVehicle, playEffect, remove, removePassenger, removeScoreboardTag, setCustomNameVisible, setFallDistance, setFireTicks, setGlowing, setGravity, setInvulnerable, setLastDamageCause, setPassenger, setPersistent, setPortalCooldown, setRotation, setSilent, setTicksLived, spigot, teleport, teleport, teleport, teleport
getInventory
getLootTable, getSeed, setLootTable, setSeed
getMetadata, hasMetadata, removeMetadata, setMetadata
getDamage, getDerailedVelocityMod, getDisplayBlock, getDisplayBlockData, getDisplayBlockOffset, getFlyingVelocityMod, getMaxSpeed, isSlowWhenEmpty, setDamage, setDerailedVelocityMod, setDisplayBlock, setDisplayBlockData, setDisplayBlockOffset, setFlyingVelocityMod, setMaxSpeed, setSlowWhenEmpty
getCustomName, setCustomName
addAttachment, addAttachment, addAttachment, addAttachment, getEffectivePermissions, hasPermission, hasPermission, isPermissionSet, isPermissionSet, recalculatePermissions, removeAttachment
getPersistentDataContainer
isOp, setOp
getVelocity, setVelocity
boolean isEnabled()
void setEnabled(boolean enabled)
enabled
- new enabled stateCopyright © 2020. All rights reserved.