Klasse EngineBlock

java.lang.Object
net.minecraft.world.level.block.state.BlockBehaviour
net.minecraft.world.level.block.Block
de.luckymcdev.foundryengine.common.world.block.EngineBlock
Alle implementierten Schnittstellen:
net.minecraft.world.flag.FeatureElement, net.minecraft.world.level.ItemLike, net.neoforged.neoforge.common.extensions.IBlockExtension
Bekannte direkte Unterklassen:
EngineEntityBlock

public class EngineBlock extends net.minecraft.world.level.block.Block
  • Verschachtelte Klassen - Übersicht

    Verschachtelte Klassen
    Modifikator und Typ
    Klasse
    Beschreibung
    static interface 
     
    static enum 
     
    static interface 
     
    static interface 
     
    static interface 
     
    static interface 
     
    static interface 
     
    static interface 
     
    static interface 
     
    static interface 
     
    static interface 
     

    Von Klasse geerbte verschachtelte Klassen/Schnittstellen net.minecraft.world.level.block.Block

    net.minecraft.world.level.block.Block.UpdateFlags

    Von Klasse geerbte verschachtelte Klassen/Schnittstellen net.minecraft.world.level.block.state.BlockBehaviour

    net.minecraft.world.level.block.state.BlockBehaviour.BlockStateBase, net.minecraft.world.level.block.state.BlockBehaviour.OffsetFunction, net.minecraft.world.level.block.state.BlockBehaviour.OffsetType, net.minecraft.world.level.block.state.BlockBehaviour.PostProcess, net.minecraft.world.level.block.state.BlockBehaviour.Properties, net.minecraft.world.level.block.state.BlockBehaviour.StateArgumentPredicate<A>, net.minecraft.world.level.block.state.BlockBehaviour.StatePredicate
  • Feldübersicht

    Von Klasse geerbte Felder net.minecraft.world.level.block.Block

    BLOCK_STATE_REGISTRY, CODEC, INDESTRUCTIBLE, INSTANT, stateDefinition, UPDATE_ALL, UPDATE_ALL_IMMEDIATE, UPDATE_CLIENTS, UPDATE_IMMEDIATE, UPDATE_INVISIBLE, UPDATE_KNOWN_SHAPE, UPDATE_LIMIT, UPDATE_MOVE_BY_PISTON, UPDATE_NEIGHBORS, UPDATE_NONE, UPDATE_SKIP_ALL_SIDEEFFECTS, UPDATE_SKIP_BLOCK_ENTITY_SIDEEFFECTS, UPDATE_SKIP_ON_PLACE, UPDATE_SKIP_SHAPE_UPDATE_ON_WIRE, UPDATE_SUPPRESS_DROPS

    Von Klasse geerbte Felder net.minecraft.world.level.block.state.BlockBehaviour

    descriptionId, drops, dynamicShape, explosionResistance, friction, hasCollision, isRandomlyTicking, jumpFactor, properties, requiredFeatures, soundType, speedFactor, UPDATE_SHAPE_ORDER

    Von Schnittstelle geerbte Felder net.minecraft.world.flag.FeatureElement

    FILTERED_REGISTRIES
  • Konstruktorübersicht

    Konstruktoren
    Konstruktor
    Beschreibung
    EngineBlock(net.minecraft.world.level.block.state.BlockBehaviour.Properties properties)
     
  • Methodenübersicht

    Modifikator und Typ
    Methode
    Beschreibung
     
    void
    animateTick(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, net.minecraft.util.RandomSource random)
     
    void
     
     
    void
    destroy(net.minecraft.world.level.LevelAccessor level, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state)
     
     
    void
    fallOn(net.minecraft.world.level.Level level, net.minecraft.world.level.block.state.BlockState state, net.minecraft.core.BlockPos pos, net.minecraft.world.entity.Entity entity, double fallDistance)
     
    protected net.minecraft.world.level.block.RenderShape
    getRenderShape(net.minecraft.world.level.block.state.BlockState state)
     
    protected float
    getShadeBrightness(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.BlockGetter level, net.minecraft.core.BlockPos pos)
     
    protected net.minecraft.world.phys.shapes.VoxelShape
    getShape(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.BlockGetter level, net.minecraft.core.BlockPos pos, net.minecraft.world.phys.shapes.CollisionContext context)
     
     
    void
    handlePrecipitation(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, net.minecraft.world.level.biome.Biome.Precipitation precipitation)
     
     
    void
    playerDestroy(net.minecraft.world.level.Level level, net.minecraft.world.entity.player.Player player, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state, @Nullable net.minecraft.world.level.block.entity.BlockEntity blockEntity, net.minecraft.world.item.ItemStack tool)
     
     
    net.minecraft.world.level.block.state.BlockState
    playerWillDestroy(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.entity.player.Player player)
     
    protected boolean
    propagatesSkylightDown(net.minecraft.world.level.block.state.BlockState state)
     
     
    void
    setPlacedBy(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state, @Nullable net.minecraft.world.entity.LivingEntity by, net.minecraft.world.item.ItemStack itemStack)
     
     
    void
    stepOn(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState onState, net.minecraft.world.entity.Entity entity)
     
     
    protected net.minecraft.world.InteractionResult
    useWithoutItem(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, net.minecraft.world.entity.player.Player player, net.minecraft.world.phys.BlockHitResult hitResult)
     
    visibilityCondition(@Nullable BiPredicate<net.minecraft.world.entity.player.Player, net.minecraft.world.level.block.state.BlockState> condition)
     
     
    void
    wasExploded(net.minecraft.server.level.ServerLevel level, net.minecraft.core.BlockPos pos, net.minecraft.world.level.Explosion explosion)
     

    Von Klasse geerbte Methoden net.minecraft.world.level.block.Block

    asBlock, asItem, box, boxes, boxZ, boxZ, boxZ, builtInRegistryHolder, byItem, canSupportCenter, canSupportRigidBlock, codec, column, column, createBlockStateDefinition, cube, cube, defaultBlockState, dropFromBlockInteractLootTable, dropFromExplosion, dropFromLootTable, dropResources, dropResources, dropResources, getDrops, getDrops, getExplosionResistance, getFriction, getId, getJumpFactor, getName, getShapeForEachState, getShapeForEachState, getSpeedFactor, getStateDefinition, getStateForPlacement, hasDynamicShape, isExceptionForConnection, isFaceFull, isPossibleToRespawnInThis, isShapeFullBlock, popExperience, popResource, popResourceFromFace, pushEntitiesUp, registerDefaultState, shouldRenderFace, shouldRenderFace, spawnDestroyParticles, stateById, toString, tryDropExperience, updateEntityMovementAfterFallOn, updateFromNeighbourShapes, updateOrDestroy, updateOrDestroy, withPropertiesOf

    Von Klasse geerbte Methoden net.minecraft.world.level.block.state.BlockBehaviour

    affectNeighborsAfterRemoval, attack, canBeReplaced, canBeReplaced, canSurvive, defaultDestroyTime, defaultMapColor, entityInside, getAnalogOutputSignal, getBlockSupportShape, getCloneItemStack, getCollisionShape, getDescriptionId, getDestroyProgress, getDirectSignal, getDrops, getEntityInsideCollisionShape, getFluidState, getInteractionShape, getLightDampening, getLootTable, getMaxHorizontalOffset, getMaxVerticalOffset, getMenuProvider, getOcclusionShape, getSeed, getSignal, getSoundType, getVisualShape, hasAnalogOutputSignal, isAir, isCollisionShapeFullBlock, isPathfindable, isRandomlyTicking, isSignalSource, mirror, neighborChanged, onExplosionHit, onPlace, onProjectileHit, properties, propertiesCodec, randomTick, requiredFeatures, rotate, shouldChangedStateKeepBlockEntity, simpleCodec, skipRendering, spawnAfterBreak, tick, triggerEvent, updateIndirectNeighbourShapes, updateShape, useItemOn, useShapeForLightOcclusion

    Von Klasse geerbte Methoden Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Von Schnittstelle geerbte Methoden net.minecraft.world.flag.FeatureElement

    isEnabled

    Von Schnittstelle geerbte Methoden net.neoforged.neoforge.common.extensions.IBlockExtension

    addLandingEffects, addRunningEffects, canBeHydrated, canConnectRedstone, canDropFromExplosion, canEntityDestroy, canHarvestBlock, canStickTo, canSustainPlant, collisionExtendsVertically, getAdjacentBlockPathType, getAppearance, getBeaconColorMultiplier, getBedDirection, getBlockPathType, getBubbleColumnDirection, getCloneItemStack, getEnchantPowerBonus, getExpDrop, getExplosionResistance, getFireSpreadSpeed, getFlammability, getFriction, getLightEmission, getMapColor, getPistonPushReaction, getRelocability, getRespawnPosition, getSoundType, getStateAtViewpoint, getToolModifiedState, getWeakChanges, hasDynamicLightEmission, hidesNeighborFace, ignitedByLava, isBed, isBurning, isConduitFrame, isEmpty, isFertile, isFireSource, isFlammable, isLadder, isPortalFrame, isScaffolding, isSlimeBlock, isStickyBlock, makesOpenTrapdoorAboveClimbable, onBlockExploded, onBlockStateChange, onCaughtFire, onDestroyedByPlayer, onDestroyedByPushReaction, onNeighborChange, onTreeGrow, playFallSound, playStepSound, rotate, setBedOccupied, shouldCheckWeakPower, shouldDisplayFluidOverlay, shouldHideAdjacentFluidFace, supportsExternalFaceHiding
  • Konstruktordetails

    • EngineBlock

      public EngineBlock(net.minecraft.world.level.block.state.BlockBehaviour.Properties properties)
  • Methodendetails

    • clearCallback

      public void clearCallback(EngineBlock.CallbackType type)
    • visibilityCondition

      public EngineBlock visibilityCondition(@Nullable BiPredicate<net.minecraft.world.entity.player.Player, net.minecraft.world.level.block.state.BlockState> condition)
    • animateTick

    • destroy

    • wasExploded

    • stepOn

    • setPlacedBy

    • fallOn

    • playerWillDestroy

      public EngineBlock playerWillDestroy(EngineBlock.PlayerWillDestroyCallback cb)
    • playerDestroy

    • handlePrecipitation

      public EngineBlock handlePrecipitation(EngineBlock.HandlePrecipitationCallback cb)
    • use

    • animateTick

      public void animateTick(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, net.minecraft.util.RandomSource random)
      Setzt außer Kraft:
      animateTick in Klasse net.minecraft.world.level.block.Block
    • destroy

      public void destroy(net.minecraft.world.level.LevelAccessor level, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state)
      Setzt außer Kraft:
      destroy in Klasse net.minecraft.world.level.block.Block
    • wasExploded

      public void wasExploded(net.minecraft.server.level.ServerLevel level, net.minecraft.core.BlockPos pos, net.minecraft.world.level.Explosion explosion)
      Setzt außer Kraft:
      wasExploded in Klasse net.minecraft.world.level.block.Block
    • stepOn

      public void stepOn(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState onState, net.minecraft.world.entity.Entity entity)
      Setzt außer Kraft:
      stepOn in Klasse net.minecraft.world.level.block.Block
    • setPlacedBy

      public void setPlacedBy(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state, @Nullable net.minecraft.world.entity.LivingEntity by, net.minecraft.world.item.ItemStack itemStack)
      Setzt außer Kraft:
      setPlacedBy in Klasse net.minecraft.world.level.block.Block
    • fallOn

      public void fallOn(net.minecraft.world.level.Level level, net.minecraft.world.level.block.state.BlockState state, net.minecraft.core.BlockPos pos, net.minecraft.world.entity.Entity entity, double fallDistance)
      Setzt außer Kraft:
      fallOn in Klasse net.minecraft.world.level.block.Block
    • playerWillDestroy

      public net.minecraft.world.level.block.state.BlockState playerWillDestroy(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.entity.player.Player player)
      Setzt außer Kraft:
      playerWillDestroy in Klasse net.minecraft.world.level.block.Block
    • playerDestroy

      public void playerDestroy(net.minecraft.world.level.Level level, net.minecraft.world.entity.player.Player player, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state, @Nullable net.minecraft.world.level.block.entity.BlockEntity blockEntity, net.minecraft.world.item.ItemStack tool)
      Setzt außer Kraft:
      playerDestroy in Klasse net.minecraft.world.level.block.Block
    • handlePrecipitation

      public void handlePrecipitation(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, net.minecraft.world.level.biome.Biome.Precipitation precipitation)
      Setzt außer Kraft:
      handlePrecipitation in Klasse net.minecraft.world.level.block.Block
    • useWithoutItem

      protected net.minecraft.world.InteractionResult useWithoutItem(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, net.minecraft.world.entity.player.Player player, net.minecraft.world.phys.BlockHitResult hitResult)
      Setzt außer Kraft:
      useWithoutItem in Klasse net.minecraft.world.level.block.state.BlockBehaviour
    • getRenderShape

      protected net.minecraft.world.level.block.RenderShape getRenderShape(net.minecraft.world.level.block.state.BlockState state)
      Setzt außer Kraft:
      getRenderShape in Klasse net.minecraft.world.level.block.state.BlockBehaviour
    • getShape

      protected net.minecraft.world.phys.shapes.VoxelShape getShape(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.BlockGetter level, net.minecraft.core.BlockPos pos, net.minecraft.world.phys.shapes.CollisionContext context)
      Setzt außer Kraft:
      getShape in Klasse net.minecraft.world.level.block.state.BlockBehaviour
    • getShadeBrightness

      protected float getShadeBrightness(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.BlockGetter level, net.minecraft.core.BlockPos pos)
      Setzt außer Kraft:
      getShadeBrightness in Klasse net.minecraft.world.level.block.state.BlockBehaviour
    • propagatesSkylightDown

      protected boolean propagatesSkylightDown(net.minecraft.world.level.block.state.BlockState state)
      Setzt außer Kraft:
      propagatesSkylightDown in Klasse net.minecraft.world.level.block.state.BlockBehaviour