Class BikeEntity
java.lang.Object
net.minecraftforge.common.capabilities.CapabilityProvider<net.minecraft.world.entity.Entity>
net.minecraft.world.entity.Entity
net.minecraft.world.entity.LivingEntity
net.minecraft.world.entity.Mob
net.minecraft.world.entity.PathfinderMob
net.minecraft.world.entity.AgeableMob
net.minecraft.world.entity.animal.Animal
net.minecraft.world.entity.animal.horse.AbstractHorse
com.pixelmonmod.pixelmon.entities.bikes.BikeEntity
- All Implemented Interfaces:
net.minecraft.commands.CommandSource,net.minecraft.world.ContainerListener,net.minecraft.world.entity.Attackable,net.minecraft.world.entity.HasCustomInventoryScreen,net.minecraft.world.entity.OwnableEntity,net.minecraft.world.entity.PlayerRideable,net.minecraft.world.entity.PlayerRideableJumping,net.minecraft.world.entity.Saddleable,net.minecraft.world.entity.Targeting,net.minecraft.world.level.entity.EntityAccess,net.minecraft.world.Nameable,net.minecraftforge.common.capabilities.ICapabilityProvider,net.minecraftforge.common.capabilities.ICapabilityProviderImpl<net.minecraft.world.entity.Entity>,net.minecraftforge.common.capabilities.ICapabilitySerializable<net.minecraft.nbt.CompoundTag>,net.minecraftforge.common.extensions.IForgeEntity,net.minecraftforge.common.extensions.IForgeLivingEntity,net.minecraftforge.common.util.INBTSerializable<net.minecraft.nbt.CompoundTag>
public class BikeEntity
extends net.minecraft.world.entity.animal.horse.AbstractHorse
Created by Justin
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.entity.AgeableMob
net.minecraft.world.entity.AgeableMob.AgeableMobGroupDataNested classes/interfaces inherited from class net.minecraft.world.entity.LivingEntity
net.minecraft.world.entity.LivingEntity.FallsoundsNested classes/interfaces inherited from class net.minecraft.world.entity.Entity
net.minecraft.world.entity.Entity.MoveFunction, net.minecraft.world.entity.Entity.MovementEmission, net.minecraft.world.entity.Entity.RemovalReasonNested classes/interfaces inherited from class net.minecraftforge.common.capabilities.CapabilityProvider
net.minecraftforge.common.capabilities.CapabilityProvider.AsField<B extends net.minecraftforge.common.capabilities.ICapabilityProviderImpl<B>> -
Field Summary
FieldsFields inherited from class net.minecraft.world.entity.animal.horse.AbstractHorse
allowStandSliding, BREEDING_CROSS_FACTOR, canGallop, CHEST_SLOT_OFFSET, EQUIPMENT_SLOT_OFFSET, gallopSoundCounter, INV_BASE_COUNT, INV_SLOT_ARMOR, INV_SLOT_SADDLE, inventory, INVENTORY_SLOT_OFFSET, isJumping, playerJumpPendingScale, sprintCounter, tailCounter, temperFields inherited from class net.minecraft.world.entity.animal.Animal
PARENT_AGE_AFTER_BREEDINGFields inherited from class net.minecraft.world.entity.AgeableMob
age, BABY_START_AGE, forcedAge, forcedAgeTimerFields inherited from class net.minecraft.world.entity.PathfinderMob
DEFAULT_WALK_TARGET_VALUEFields inherited from class net.minecraft.world.entity.Mob
ambientSoundTime, armorDropChances, DEFAULT_EQUIPMENT_DROP_CHANCE, goalSelector, handDropChances, jumpControl, LEASH_TAG, lookControl, MAX_ENCHANTED_ARMOR_CHANCE, MAX_ENCHANTED_WEAPON_CHANCE, MAX_PICKUP_LOOT_CHANCE, MAX_WEARING_ARMOR_CHANCE, moveControl, navigation, PICKUP_REACH, PRESERVE_ITEM_DROP_CHANCE, targetSelector, UPDATE_GOAL_SELECTOR_EVERY_N_TICKS, xpRewardFields inherited from class net.minecraft.world.entity.LivingEntity
animStep, animStepO, ARMOR_SLOT_OFFSET, ARMOR_SLOTS, attackAnim, attackStrengthTicker, autoSpinAttackTicks, brain, DATA_HEALTH_ID, DATA_LIVING_ENTITY_FLAGS, dead, DEATH_DURATION, deathScore, deathTime, DEFAULT_BASE_GRAVITY, DEFAULT_EYE_HEIGHT, EXTRA_RENDER_CULLING_SIZE_WITH_BIG_HAT, fallFlyTicks, HAND_SLOTS, hurtDuration, hurtTime, invulnerableDuration, lastHurt, lastHurtByPlayer, lastHurtByPlayerTime, lerpHeadSteps, lerpSteps, lerpX, lerpXRot, lerpY, lerpYHeadRot, lerpYRot, lerpZ, LIVING_ENTITY_FLAG_IS_USING, LIVING_ENTITY_FLAG_OFF_HAND, LIVING_ENTITY_FLAG_SPIN_ATTACK, MIN_MOVEMENT_DISTANCE, noActionTime, noJumpDelay, oAttackAnim, oRun, PLAYER_HURT_EXPERIENCE_TIME, removeArrowTime, removeStingerTime, rotA, rotOffs, run, SLEEPING_DIMENSIONS, SWING_DURATION, swinging, swingingArm, swingTime, timeOffs, USE_ITEM_INTERVAL, useItem, useItemRemaining, walkAnimation, xxa, yBodyRot, yBodyRotO, yHeadRot, yHeadRotO, yya, zzaFields inherited from class net.minecraft.world.entity.Entity
BASE_TICKS_REQUIRED_TO_FREEZE, blocksBuilding, BOARDING_COOLDOWN, boardingCooldown, BREATHING_DISTANCE_BELOW_EYES, DATA_POSE, DATA_SHARED_FLAGS_ID, DEFAULT_BB_HEIGHT, DEFAULT_BB_WIDTH, DELTA_AFFECTED_BY_BLOCKS_BELOW_0_2, DELTA_AFFECTED_BY_BLOCKS_BELOW_0_5, DELTA_AFFECTED_BY_BLOCKS_BELOW_1_0, dimensions, ENTITY_COUNTER, entityData, eyeHeight, fallDistance, firstTick, FLAG_FALL_FLYING, FLAG_GLOWING, FLAG_ONFIRE, fluidHeight, flyDist, forgeFluidTypeHeight, FREEZE_HURT_FREQUENCY, hasImpulse, horizontalCollision, hurtMarked, ID_TAG, invulnerableTime, isInPowderSnow, isInsidePortal, level, mainSupportingBlockPos, MAX_ENTITY_TAG_COUNT, minorHorizontalCollision, moveDist, noCulling, noPhysics, onGround, PASSENGERS_TAG, portalEntrancePos, portalTime, random, stringUUID, stuckSpeedMultiplier, tickCount, TOTAL_AIR_SUPPLY, uuid, UUID_TAG, verticalCollision, verticalCollisionBelow, walkDist, walkDistO, wasEyeInWater, wasInPowderSnow, wasOnFire, wasTouchingWater, xo, xOld, xRot, xRotO, yo, yOld, yRot, yRotO, zo, zOldFields inherited from interface net.minecraft.commands.CommandSource
NULL -
Constructor Summary
ConstructorsConstructorDescriptionBikeEntity(net.minecraft.world.entity.EntityType<BikeEntity> type, net.minecraft.world.level.Level world) BikeEntity(net.minecraft.world.level.Level world) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAdditionalSaveData(net.minecraft.nbt.CompoundTag compound) protected voidapplyYawToEntity(net.minecraft.world.entity.Entity entity) Applies this entity's yaw to the given entity.booleanbooleancauseFallDamage(float fallDistance, float damageMultiplier, net.minecraft.world.damagesource.DamageSource p_149501_) protected voidnet.minecraft.world.InteractionResultfedFood(net.minecraft.world.entity.player.Player player, net.minecraft.world.item.ItemStack stack) protected net.minecraft.sounds.SoundEventnet.minecraft.world.phys.AABBnet.minecraft.world.item.DyeColorgetColor()protected net.minecraft.sounds.SoundEventnet.minecraft.world.phys.Vec3getDismountLocationForPassenger(net.minecraft.world.entity.LivingEntity passenger) protected net.minecraft.sounds.SoundEventprotected net.minecraft.sounds.SoundEventgetHurtSound(net.minecraft.world.damagesource.DamageSource p_184601_1_) net.minecraft.network.chat.ComponentgetName()Get the name of this object.protected floatgetPassengersRidingOffsetY(net.minecraft.world.entity.EntityDimensions p_299002_, float p_297393_) Returns the Y offset from the entity's position for any entity riding this one.protected booleanhandleEating(net.minecraft.world.entity.player.Player player, net.minecraft.world.item.ItemStack stack) booleanhurt(net.minecraft.world.damagesource.DamageSource source, float amount) net.minecraft.world.InteractionResultinteractAt(net.minecraft.world.entity.player.Player player, net.minecraft.world.phys.Vec3 angle, net.minecraft.world.InteractionHand hand) booleanisNoAi()booleanbooleanReturns true if this entity should push and be pushed by other entities when colliding.booleanbooleanisTamed()protected voidjump()Causes this entity to do an upwards motion (jumping).net.minecraft.world.InteractionResultmobInteract(net.minecraft.world.entity.player.Player player, net.minecraft.world.InteractionHand hand) voidonPassengerTurned(net.minecraft.world.entity.Entity entityToUpdate) Applies this entity's orientation (pitch/yaw) to another entity.voidonSyncedDataUpdated(net.minecraft.network.syncher.EntityDataAccessor<?> key) voidopenCustomInventoryScreen(net.minecraft.world.entity.player.Player p_218808_) protected voidplayGallopSound(net.minecraft.world.level.block.SoundType p_190680_1_) protected voidprotected voidplayStepSound(net.minecraft.core.BlockPos p_180429_1_, net.minecraft.world.level.block.state.BlockState p_180429_2_) voidpositionRider(net.minecraft.world.entity.Entity passenger, net.minecraft.world.entity.Entity.MoveFunction p_19958_) voidreadAdditionalSaveData(net.minecraft.nbt.CompoundTag compound) voidsetColor(net.minecraft.world.item.DyeColor type) voidvoidtravel(float strafe, float up, float forward) Methods inherited from class net.minecraft.world.entity.animal.horse.AbstractHorse
addBehaviourGoals, aiStep, calculateFallDamage, canEatGrass, canJump, canMate, canParent, canPerformRearing, canWearArmor, containerChanged, createBaseHorseAttributes, createInventory, doPlayerRide, dropEquipment, equipArmor, equipSaddle, executeRidersJump, finalizeSpawn, followMommy, generateJumpStrength, generateMaxHealth, generateSpeed, getAmbientSoundInterval, getAmbientStandInterval, getAmbientStandSound, getBreedOffspring, getCapability, getControllingPassenger, getCustomJump, getEatAnim, getFlag, getInventorySize, getMaxSpawnClusterSize, getMaxTemper, getMouthAnim, getOwnerUUID, getPassengerAttachmentPoint, getRiddenInput, getRiddenRotation, getRiddenSpeed, getSlot, getSoundVolume, getStandAnim, getStandingEyeHeight, getTemper, handleEntityEvent, handleStartJump, handleStopJump, hasInventoryChanged, invalidateCaps, isArmor, isBred, isEating, isFood, isImmobile, isJumping, isSaddleable, isStanding, isWearingArmor, makeMad, modifyTemper, onClimbable, onLeashDistance, onPlayerJump, randomizeAttributes, registerGoals, setBred, setEating, setFlag, setIsJumping, setOffspringAttributes, setOwnerUUID, setStanding, setTamed, setTemper, spawnTamingParticles, standIfPossible, tameWithName, tick, tickRidden, updateContainerEquipmentMethods inherited from class net.minecraft.world.entity.animal.Animal
canFallInLove, checkAnimalSpawnRules, customServerAiStep, finalizeSpawnChildFromBreeding, getExperienceReward, getInLoveTime, getLoveCause, getWalkTargetValue, isBrightEnoughToSpawn, isInLove, removeWhenFarAway, resetLove, setInLove, setInLoveTime, spawnChildFromBreeding, usePlayerItemMethods inherited from class net.minecraft.world.entity.AgeableMob
ageBoundaryReached, ageUp, ageUp, canBreed, getAge, getSpeedUpSecondsWhenFeeding, isBaby, setAge, setBabyMethods inherited from class net.minecraft.world.entity.PathfinderMob
checkSpawnRules, followLeashSpeed, getWalkTargetValue, isPanicking, isPathFinding, shouldStayCloseToLeashHolder, tickLeashMethods inherited from class net.minecraft.world.entity.Mob
ate, baseTick, canAttackType, canBeLeashed, canFireProjectileWeapon, canHoldItem, canPickUpLoot, canReplaceCurrentItem, canReplaceEqualItem, canTakeItem, checkAndHandleImportantInteractions, checkDespawn, checkMobSpawnRules, checkSpawnObstruction, clearRestriction, convertTo, createBodyControl, createMobAttributes, createNavigation, doHurtTarget, dropCustomDeathLoot, dropFromLootTable, dropLeash, enchantSpawnedArmor, enchantSpawnedWeapon, equipItemIfPossible, getAmbientSound, getArmorSlots, getAttackBoundingBox, getDefaultLootTable, getEquipmentDropChance, getEquipmentForSlot, getHandSlots, getHeadRotSpeed, getItemBySlot, getJumpControl, getLeashHolder, getLookControl, getLootTable, getLootTableSeed, getMainArm, getMaxFallDistance, getMaxHeadXRot, getMaxHeadYRot, getMoveControl, getNavigation, getPathfindingMalus, getPickResult, getPickupReach, getRestrictCenter, getRestrictRadius, getSensing, getSpawnType, getTarget, hasRestriction, interact, isAggressive, isEffectiveAi, isLeashed, isLeftHanded, isMaxGroupSizeReached, isPersistenceRequired, isSpawnCancelled, isSunBurnTick, isWithinMeleeAttackRange, isWithinRestriction, isWithinRestriction, jumpInFluid, jumpInLiquid, lookAt, onOffspringSpawnedFromEgg, onPathfindingDone, onPathfindingStart, pickUpItem, playAmbientSound, playHurtSound, populateDefaultEquipmentEnchantments, populateDefaultEquipmentSlots, removeAfterChangingDimensions, removeAllGoals, removeFreeWill, requiresCustomPersistence, restrictTo, sendDebugPackets, serverAiStep, setAggressive, setCanPickUpLoot, setDelayedLeashHolderId, setDropChance, setGuaranteedDrop, setItemSlot, setItemSlotAndDropWhenKilled, setLeashedTo, setLeftHanded, setNoAi, setPathfindingMalus, setPersistenceRequired, setSpawnCancelled, setSpeed, setTarget, setXxa, setYya, setZza, shouldDespawnInPeaceful, shouldPassengersInheritMalus, spawnAnim, startRiding, tickHeadTurn, updateControlFlags, wantsToPickUpMethods inherited from class net.minecraft.world.entity.LivingEntity
actuallyHurt, addEffect, addEffect, animateHurt, areAllEffectsAmbient, attackable, blockedByShield, blockUsingShield, brainProvider, broadcastBreakEvent, broadcastBreakEvent, calculateEntityAnimation, canAttack, canAttack, canBeAffected, canBeSeenAsEnemy, canBeSeenByAnyone, canBreatheUnderwater, canChangeDimensions, canDisableShield, canFreeze, canSpawnSoulSpeedParticle, canStandOnFluid, checkAutoSpinAttack, checkFallDamage, clearSleepingPos, completeUsingItem, createLivingAttributes, createWitherRose, curePotionEffects, decreaseAirSupply, die, doAutoAttackOnTouch, doesEmitEquipEvent, doPush, dropAllDeathLoot, dropExperience, eat, equipmentHasChanged, forceAddEffect, getAbsorptionAmount, getActiveEffects, getActiveEffectsMap, getArmorCoverPercentage, getArmorValue, getArrowCount, getAttackAnim, getAttribute, getAttributeBaseValue, getAttributeBaseValue, getAttributes, getAttributeValue, getAttributeValue, getBedOrientation, getBlockSpeedFactor, getBoundingBoxForCulling, getBrain, getCombatTracker, getDamageAfterArmorAbsorb, getDamageAfterMagicAbsorb, getDimensions, getDismountPoses, getDrinkingSound, getEatingSound, getEffect, getEquipmentSlotForItem, getEyeHeight, getFallDamageSound, getFallFlyingTicks, getFallSounds, getFluidFallingAdjustedMovement, getFlyingSpeed, getHealth, getHitbox, getHurtDir, getItemInHand, getJumpBoostPower, getJumpPower, getKillCredit, getLastAttacker, getLastClimbablePos, getLastDamageSource, getLastHurtByMob, getLastHurtByMobTimestamp, getLastHurtMob, getLastHurtMobTimestamp, getLocalBoundsForPose, getMainHandItem, getMaxAbsorption, getMaxHealth, getMobType, getMyRidingOffset, getNoActionTime, getOffhandItem, getPassengerRidingPosition, getProjectile, getRandom, getRelativePortalPosition, getScale, getSleepingPos, getSpeed, getStingerCount, getSwimAmount, getTicksUsingItem, getUsedItemHand, getUseItem, getUseItemRemainingTicks, getViewYRot, getVisibilityPercent, getVisualRotationYInDegrees, getVoicePitch, getWaterSlowDown, getYHeadRot, goDownInWater, handleDamageEvent, handleRelativeFrictionAndCalculateMovement, hasEffect, hasItemInSlot, hasLineOfSight, heal, hurtArmor, hurtCurrentlyUsedShield, hurtHelmet, increaseAirSupply, indicateDamage, internalSetAbsorptionAmount, isAffectedByFluids, isAffectedByPotions, isAlive, isAlwaysExperienceDropper, isAutoSpinAttack, isBlocking, isCurrentlyGlowing, isDamageSourceBlocked, isDeadOrDying, isFallFlying, isHolding, isHolding, isInvertedHealAndHarm, isInWall, isSensitiveToWater, isSleeping, isSuppressingSlidingDownLadder, isUsingItem, isVisuallySwimming, jumpFromGround, kill, knockback, lerpHeadRotationStep, lerpHeadTo, lerpTargetX, lerpTargetXRot, lerpTargetY, lerpTargetYRot, lerpTargetZ, lerpTo, lookAt, makeBrain, maxUpStep, onBelowWorld, onChangedBlock, onEffectAdded, onEffectRemoved, onEffectUpdated, onEnterCombat, onEquipItem, onItemPickup, onLeaveCombat, onSoulSpeedBlock, playBlockFallSound, push, pushEntities, randomTeleport, recreateFromPacket, releaseUsingItem, remove, removeAllEffects, removeEffect, removeEffectNoUpdate, removeEffectParticles, removeFrost, removeSoulSpeed, resetForwardDirectionOfRelativePortalPosition, reviveCaps, rideTick, sendEffectToPassengers, setAbsorptionAmount, setArrowCount, setDiscardFriction, setHealth, setItemInHand, setJumping, setLastHurtByMob, setLastHurtByPlayer, setLastHurtMob, setLivingEntityFlag, setNoActionTime, setRecordPlayingNearby, setSleepingPos, setSprinting, setStingerCount, setYBodyRot, setYHeadRot, shouldDiscardFriction, shouldDropExperience, shouldDropLoot, shouldRemoveSoulSpeed, shouldRiderFaceForward, shouldShowName, skipDropExperience, spawnSoulSpeedParticle, startSleeping, startUsingItem, stopRiding, stopSleeping, stopUsingItem, swing, swing, take, tickDeath, tickEffects, travel, travelRidden, triggerItemUseEffects, tryAddFrost, tryAddSoulSpeed, updateEffectVisibility, updateFallFlying, updateInvisibilityStatus, updateSwingTime, updateUsingItem, updateWalkAnimation, verifyEquippedItem, wasExperienceConsumed, wouldNotSuffocateAtTargetPoseMethods inherited from class net.minecraft.world.entity.Entity
absMoveTo, absMoveTo, acceptsFailure, acceptsSuccess, addDeltaMovement, addPassenger, addTag, awardKillScore, blockPosition, broadcastToPlayer, calculateUpVector, calculateViewVector, canAddPassenger, canBeCollidedWith, canBeHitByProjectile, canCollideWith, canControlVehicle, canRide, canSpawnSprintParticle, canSprint, canTrample, canUpdate, canUpdate, captureDrops, captureDrops, changeDimension, changeDimension, checkBelowWorld, checkInsideBlocks, checkSlowFallDistance, checkSupportingBlock, chunkPosition, clearFire, closerThan, closerThan, collideBoundingBox, copyPosition, couldAcceptPassenger, createCommandSourceStack, createHoverEvent, damageSources, dampensVibrations, discard, dismountsUnderwater, dismountTo, displayFireAnimation, distanceTo, distanceToSqr, distanceToSqr, distanceToSqr, doEnchantDamageEffects, doWaterSplashEffect, ejectPassengers, equals, extinguishFire, fillCrashReportCategory, findDimensionEntryPoint, fireImmune, fixupDimensions, gameEvent, gameEvent, getAddEntityPacket, getAirSupply, getAllSlots, getBbHeight, getBbWidth, getBlockExplosionResistance, getBlockJumpFactor, getBlockPosBelowThatAffectsMyMovement, getBlockStateOn, getBlockStateOnLegacy, getBlockX, getBlockY, getBlockZ, getBoundingBox, getCollisionHorizontalEscapeVector, getCommandSenderWorld, getControlledVehicle, getCustomName, getDeltaMovement, getDimensionChangingDelay, getDimensionsForge, getDirection, getDisplayName, getEncodeId, getEntityData, getExitPortal, getEyeHeight, getEyeHeight, getEyeHeightAccess, getEyeInFluidType, getEyePosition, getEyePosition, getEyeY, getFeetBlockState, getFireImmuneTicks, getFirstPassenger, getFluidHeight, getFluidJumpThreshold, getFluidTypeHeight, getForward, getHandHoldingItemAngle, getId, getIndirectPassengers, getLeashOffset, getLeashOffset, getLightLevelDependentMagicValue, getLightProbePosition, getLookAngle, getMaxAirSupply, getMaxHeightFluidType, getMotionDirection, getMovementEmission, getNameTagOffsetY, getOnPos, getOnPos, getOnPosLegacy, getPassengers, getPassengersAndSelf, getPercentFrozen, getPermissionLevel, getPersistentData, getPickRadius, getPistonPushReaction, getPortalCooldown, getPortalWaitTime, getPose, getPosition, getPositionCodec, getPrimaryStepSoundBlockPos, getRandomX, getRandomY, getRandomZ, getRemainingFireTicks, getRemovalReason, getRootVehicle, getRopeHoldPosition, getRotationVector, getScoreboardName, getSelfAndPassengers, getServer, getSharedFlag, getSoundSource, getStringUUID, getSwimHighSpeedSplashSound, getSwimSound, getSwimSplashSound, getTags, getTeam, getTeamColor, getTicksFrozen, getTicksRequiredToFreeze, getType, getTypeName, getUpVector, getUUID, getVehicle, getViewScale, getViewVector, getViewXRot, getX, getX, getXRot, getY, getY, getYRot, getZ, getZ, handleInsidePortal, handleNetherPortal, hasControllingPassenger, hasCustomName, hasExactlyOnePlayerPassenger, hasGlowingTag, hashCode, hasIndirectPassenger, hasPassenger, hasPassenger, hasPermissions, hasPose, ignoreExplosion, is, isAddedToWorld, isAlliedTo, isAlliedTo, isAlwaysTicking, isAttackable, isColliding, isControlledByLocalInstance, isCrouching, isCustomNameVisible, isDescending, isDiscrete, isEyeInFluid, isFlapping, isFree, isFreezing, isFullyFrozen, isHorizontalCollisionMinor, isIgnoringBlockTriggers, isInFluidType, isInFluidType, isInLava, isInLiquid, isInvisible, isInvisibleTo, isInvulnerable, isInvulnerableTo, isInWater, isInWaterOrBubble, isInWaterOrRain, isInWaterRainOrBubble, isNoGravity, isOnFire, isOnPortalCooldown, isOnRails, isPassenger, isPassengerOfSameVehicle, isPushedByFluid, isRemoved, isShiftKeyDown, isSilent, isSpectator, isSprinting, isSteppingCarefully, isSupportedBy, isSuppressingBounce, isSwimming, isUnderWater, isVehicle, isVisuallyCrawling, killedEntity, lavaHurt, lerpMotion, lerpPositionAndRotationStep, level, limitPistonMovement, load, makeBoundingBox, makeStuckInBlock, markHurt, maybeBackOffFromEdge, mayInteract, mirror, move, moveRelative, moveTo, moveTo, moveTo, moveTo, moveTowardsClosestSpace, newDoubleList, newFloatList, nextStep, onAboveBubbleCol, onAddedToWorld, onClientRemoval, onFlap, onGround, onInsideBlock, onInsideBubbleColumn, onlyOpCanSetNbt, onRemovedFromWorld, onSyncedDataUpdated, pick, playCombinationStepSounds, playEntityOnFireExtinguishedSound, playerTouch, playMuffledStepSound, playSound, playSound, playSwimSound, position, positionRider, processFlappingMovement, processPortalCooldown, push, reapplyPosition, refreshDimensions, removePassenger, removeTag, removeVehicle, repositionEntityAfterLoad, resetFallDistance, restoreFrom, revive, ridingOffset, rotate, save, saveAsPassenger, saveWithoutId, sendSystemMessage, setAirSupply, setBoundingBox, setCustomName, setCustomNameVisible, setDeltaMovement, setDeltaMovement, setFluidTypeHeight, setGlowingTag, setId, setInvisible, setInvulnerable, setIsInPowderSnow, setLevel, setLevelCallback, setMaxUpStep, setNoGravity, setOldPosAndRot, setOnGround, setOnGroundWithKnownMovement, setPortalCooldown, setPortalCooldown, setPos, setPos, setPose, setPosRaw, setRemainingFireTicks, setRemoved, setRot, setSecondsOnFire, setSharedFlag, setSharedFlagOnFire, setShiftKeyDown, setSilent, setSwimming, setTicksFrozen, setUUID, setViewScale, setXRot, setYRot, shouldBeSaved, shouldBlockExplode, shouldInformAdmins, shouldRender, shouldRenderAtSqrDistance, showVehicleHealth, skipAttackInteraction, spawnAtLocation, spawnAtLocation, spawnAtLocation, spawnAtLocation, spawnSprintParticle, startRiding, startSeenByPlayer, stopSeenByPlayer, syncPacketPositionCodec, teleportRelative, teleportTo, teleportTo, teleportToWithTicket, thunderHit, toString, touchingUnloadedChunk, trackingPosition, tryCheckInsideBlocks, turn, unRide, unsetRemoved, updateDynamicGameEventListener, updateFluidHeightAndDoFluidPushing, updateFluidHeightAndDoFluidPushing, updateFluidHeightAndDoFluidPushing, updateInWaterStateAndDoFluidPushing, updateSwimming, waterSwimSoundMethods inherited from class net.minecraftforge.common.capabilities.CapabilityProvider
areCapsCompatible, areCapsCompatible, deserializeCaps, gatherCapabilities, gatherCapabilities, gatherCapabilities, getCapabilities, serializeCapsMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.commands.CommandSource
alwaysAcceptsMethods inherited from interface net.minecraftforge.common.capabilities.ICapabilityProvider
getCapabilityMethods inherited from interface net.minecraftforge.common.extensions.IForgeEntity
canBeRiddenUnderFluidType, canFluidExtinguish, canHydrateInFluidType, canStartSwimming, canTrample, canUpdate, canUpdate, captureDrops, captureDrops, deserializeNBT, getClassification, getEyeHeightForge, getEyeInFluidType, getFluidFallDistanceModifier, getFluidMotionScale, getFluidTypeHeight, getMaxHeightFluidType, getParts, getPersistentData, getPickedResult, getSoundFromFluidType, getStepHeight, hasCustomOutlineRendering, isAddedToWorld, isEyeInFluidType, isInFluidType, isInFluidType, isInFluidType, isInFluidType, isInFluidType, isMultipartEntity, isPushedByFluid, onAddedToWorld, onRemovedFromWorld, revive, serializeNBT, shouldRiderSit, shouldUpdateFluidWhileBoatingMethods inherited from interface net.minecraftforge.common.extensions.IForgeLivingEntity
canDrownInFluidType, canSwimInFluidType, moveInFluid, self, sinkInFluidMethods inherited from interface net.minecraft.world.entity.OwnableEntity
getOwner, levelMethods inherited from interface net.minecraft.world.entity.PlayerRideableJumping
getJumpCooldownMethods inherited from interface net.minecraft.world.entity.Saddleable
getSaddleSoundEvent
-
Field Details
-
jumping
public boolean jumping -
moveStrafing
public float moveStrafing -
moveVertical
public float moveVertical -
moveForward
public float moveForward -
randomYawVelocity
public float randomYawVelocity -
inc
-
dataSyncManager
-
-
Constructor Details
-
BikeEntity
public BikeEntity(net.minecraft.world.level.Level world) -
BikeEntity
public BikeEntity(net.minecraft.world.entity.EntityType<BikeEntity> type, net.minecraft.world.level.Level world)
-
-
Method Details
-
defineSynchedData
protected void defineSynchedData()- Overrides:
defineSynchedDatain classnet.minecraft.world.entity.animal.horse.AbstractHorse
-
isNoAi
public boolean isNoAi()- Overrides:
isNoAiin classnet.minecraft.world.entity.Mob
-
openCustomInventoryScreen
public void openCustomInventoryScreen(net.minecraft.world.entity.player.Player p_218808_) - Specified by:
openCustomInventoryScreenin interfacenet.minecraft.world.entity.HasCustomInventoryScreen- Overrides:
openCustomInventoryScreenin classnet.minecraft.world.entity.animal.horse.AbstractHorse
-
getEatingSound
@Nullable protected net.minecraft.sounds.SoundEvent getEatingSound()- Overrides:
getEatingSoundin classnet.minecraft.world.entity.animal.horse.AbstractHorse
-
getDeathSound
@Nullable protected net.minecraft.sounds.SoundEvent getDeathSound()- Overrides:
getDeathSoundin classnet.minecraft.world.entity.LivingEntity
-
getHurtSound
@Nullable protected net.minecraft.sounds.SoundEvent getHurtSound(net.minecraft.world.damagesource.DamageSource p_184601_1_) - Overrides:
getHurtSoundin classnet.minecraft.world.entity.LivingEntity
-
playJumpSound
protected void playJumpSound()- Overrides:
playJumpSoundin classnet.minecraft.world.entity.animal.horse.AbstractHorse
-
getAngrySound
@Nullable protected net.minecraft.sounds.SoundEvent getAngrySound()- Overrides:
getAngrySoundin classnet.minecraft.world.entity.animal.horse.AbstractHorse
-
playStepSound
protected void playStepSound(net.minecraft.core.BlockPos p_180429_1_, net.minecraft.world.level.block.state.BlockState p_180429_2_) - Overrides:
playStepSoundin classnet.minecraft.world.entity.animal.horse.AbstractHorse
-
playGallopSound
protected void playGallopSound(net.minecraft.world.level.block.SoundType p_190680_1_) - Overrides:
playGallopSoundin classnet.minecraft.world.entity.animal.horse.AbstractHorse
-
getName
public net.minecraft.network.chat.Component getName()Get the name of this object. For players this returns their username- Specified by:
getNamein interfacenet.minecraft.world.Nameable- Overrides:
getNamein classnet.minecraft.world.entity.Entity
-
onSyncedDataUpdated
public void onSyncedDataUpdated(net.minecraft.network.syncher.EntityDataAccessor<?> key) - Overrides:
onSyncedDataUpdatedin classnet.minecraft.world.entity.AgeableMob
-
getPassengersRidingOffsetY
protected float getPassengersRidingOffsetY(net.minecraft.world.entity.EntityDimensions p_299002_, float p_297393_) Returns the Y offset from the entity's position for any entity riding this one.- Overrides:
getPassengersRidingOffsetYin classnet.minecraft.world.entity.animal.horse.AbstractHorse
-
isTamed
public boolean isTamed()- Overrides:
isTamedin classnet.minecraft.world.entity.animal.horse.AbstractHorse
-
isSaddled
public boolean isSaddled()- Specified by:
isSaddledin interfacenet.minecraft.world.entity.Saddleable- Overrides:
isSaddledin classnet.minecraft.world.entity.animal.horse.AbstractHorse
-
canRiderInteract
public boolean canRiderInteract() -
travel
public void travel(float strafe, float up, float forward) -
causeFallDamage
public boolean causeFallDamage(float fallDistance, float damageMultiplier, net.minecraft.world.damagesource.DamageSource p_149501_) - Overrides:
causeFallDamagein classnet.minecraft.world.entity.animal.horse.AbstractHorse
-
onPassengerTurned
public void onPassengerTurned(net.minecraft.world.entity.Entity entityToUpdate) Applies this entity's orientation (pitch/yaw) to another entity. Used to update passenger orientation.- Overrides:
onPassengerTurnedin classnet.minecraft.world.entity.Entity
-
positionRider
public void positionRider(net.minecraft.world.entity.Entity passenger, net.minecraft.world.entity.Entity.MoveFunction p_19958_) - Overrides:
positionRiderin classnet.minecraft.world.entity.animal.horse.AbstractHorse
-
applyYawToEntity
protected void applyYawToEntity(net.minecraft.world.entity.Entity entity) Applies this entity's yaw to the given entity. Used to update the orientation of its passenger. -
interactAt
public net.minecraft.world.InteractionResult interactAt(net.minecraft.world.entity.player.Player player, net.minecraft.world.phys.Vec3 angle, net.minecraft.world.InteractionHand hand) - Overrides:
interactAtin classnet.minecraft.world.entity.Entity
-
hurt
public boolean hurt(net.minecraft.world.damagesource.DamageSource source, float amount) - Overrides:
hurtin classnet.minecraft.world.entity.animal.horse.AbstractHorse
-
getDismountLocationForPassenger
public net.minecraft.world.phys.Vec3 getDismountLocationForPassenger(net.minecraft.world.entity.LivingEntity passenger) - Overrides:
getDismountLocationForPassengerin classnet.minecraft.world.entity.animal.horse.AbstractHorse
-
getCollisionBoundingBox
public net.minecraft.world.phys.AABB getCollisionBoundingBox() -
isPickable
public boolean isPickable()- Overrides:
isPickablein classnet.minecraft.world.entity.LivingEntity
-
isPushable
public boolean isPushable()Returns true if this entity should push and be pushed by other entities when colliding.- Overrides:
isPushablein classnet.minecraft.world.entity.animal.horse.AbstractHorse
-
readAdditionalSaveData
public void readAdditionalSaveData(net.minecraft.nbt.CompoundTag compound) - Overrides:
readAdditionalSaveDatain classnet.minecraft.world.entity.animal.horse.AbstractHorse
-
addAdditionalSaveData
public void addAdditionalSaveData(net.minecraft.nbt.CompoundTag compound) - Overrides:
addAdditionalSaveDatain classnet.minecraft.world.entity.animal.horse.AbstractHorse
-
getBikeType
-
setType
-
getColor
public net.minecraft.world.item.DyeColor getColor() -
setColor
public void setColor(net.minecraft.world.item.DyeColor type) -
jump
protected void jump()Causes this entity to do an upwards motion (jumping). -
handleEating
protected boolean handleEating(net.minecraft.world.entity.player.Player player, net.minecraft.world.item.ItemStack stack) - Overrides:
handleEatingin classnet.minecraft.world.entity.animal.horse.AbstractHorse
-
fedFood
public net.minecraft.world.InteractionResult fedFood(net.minecraft.world.entity.player.Player player, net.minecraft.world.item.ItemStack stack) - Overrides:
fedFoodin classnet.minecraft.world.entity.animal.horse.AbstractHorse
-
mobInteract
public net.minecraft.world.InteractionResult mobInteract(net.minecraft.world.entity.player.Player player, net.minecraft.world.InteractionHand hand) - Overrides:
mobInteractin classnet.minecraft.world.entity.animal.horse.AbstractHorse
-