Package info.u_team.u_team_core.block
Klasse UEntityBlock
java.lang.Object
net.minecraft.world.level.block.state.BlockBehaviour
net.minecraft.world.level.block.Block
info.u_team.u_team_core.block.UBlock
info.u_team.u_team_core.block.UEntityBlock
- Alle implementierten Schnittstellen:
BlockItemProvider,EntityBlockProvider,net.fabricmc.fabric.api.block.v1.FabricBlock,net.minecraft.world.flag.FeatureElement,net.minecraft.world.level.block.EntityBlock,net.minecraft.world.level.ItemLike
-
Verschachtelte Klassen - Übersicht
Von Klasse geerbte verschachtelte Klassen/Schnittstellen net.minecraft.world.level.block.Block
net.minecraft.world.level.block.Block.BlockStatePairKeyVon 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.Properties, net.minecraft.world.level.block.state.BlockBehaviour.StateArgumentPredicate<A>, net.minecraft.world.level.block.state.BlockBehaviour.StatePredicate -
Feldübersicht
FelderModifizierer und TypFeldBeschreibungprotected final Supplier<? extends net.minecraft.world.level.block.entity.BlockEntityType<?>> 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_SUPPRESS_DROPSVon Klasse geerbte Felder net.minecraft.world.level.block.state.BlockBehaviour
drops, dynamicShape, explosionResistance, friction, hasCollision, isRandomlyTicking, jumpFactor, properties, requiredFeatures, soundType, speedFactor, UPDATE_SHAPE_ORDERVon Schnittstelle geerbte Felder net.minecraft.world.flag.FeatureElement
FILTERED_REGISTRIES -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungUEntityBlock(net.minecraft.world.level.block.state.BlockBehaviour.Properties properties, Supplier<? extends net.minecraft.world.level.block.entity.BlockEntityType<?>> blockEntityType) UEntityBlock(net.minecraft.world.level.block.state.BlockBehaviour.Properties properties, net.minecraft.world.item.Item.Properties blockItemProperties, Supplier<? extends net.minecraft.world.level.block.entity.BlockEntityType<?>> blockEntityType) -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungnet.minecraft.world.level.block.entity.BlockEntityType<?> blockEntityType(net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state) Returns theBlockEntityTypethat is used for creating theBlockEntitywhenEntityBlockProvider.newBlockEntity(BlockPos, BlockState)is invoked.Von Klasse geerbte Methoden info.u_team.u_team_core.block.UBlock
blockItem, createBlockItemVon Klasse geerbte Methoden net.minecraft.world.level.block.Block
animateTick, appendHoverText, asBlock, asItem, box, builtInRegistryHolder, byItem, canSupportCenter, canSupportRigidBlock, codec, createBlockStateDefinition, defaultBlockState, destroy, dropFromExplosion, dropResources, dropResources, dropResources, fallOn, getCloneItemStack, getDescriptionId, getDrops, getDrops, getExplosionResistance, getFriction, getId, getJumpFactor, getName, getShapeForEachState, getSpeedFactor, getStateDefinition, getStateForPlacement, handlePrecipitation, hasDynamicShape, isExceptionForConnection, isFaceFull, isPossibleToRespawnInThis, isShapeFullBlock, playerDestroy, playerWillDestroy, popExperience, popResource, popResourceFromFace, pushEntitiesUp, registerDefaultState, setPlacedBy, shouldRenderFace, spawnDestroyParticles, stateById, stepOn, toString, tryDropExperience, updateEntityAfterFallOn, updateFromNeighbourShapes, updateOrDestroy, updateOrDestroy, wasExploded, withPropertiesOfVon Klasse geerbte Methoden net.minecraft.world.level.block.state.BlockBehaviour
attack, canBeReplaced, canBeReplaced, canSurvive, defaultDestroyTime, defaultMapColor, entityInside, getAnalogOutputSignal, getBlockSupportShape, getCollisionShape, getDestroyProgress, getDirectSignal, getDrops, getFluidState, getInteractionShape, getLightBlock, getLootTable, getMaxHorizontalOffset, getMaxVerticalOffset, getMenuProvider, getOcclusionShape, getRenderShape, getSeed, getShadeBrightness, getShape, getSignal, getSoundType, getVisualShape, hasAnalogOutputSignal, isCollisionShapeFullBlock, isOcclusionShapeFullBlock, isPathfindable, isRandomlyTicking, isSignalSource, mirror, neighborChanged, onExplosionHit, onPlace, onProjectileHit, onRemove, propagatesSkylightDown, properties, propertiesCodec, randomTick, requiredFeatures, rotate, simpleCodec, skipRendering, spawnAfterBreak, tick, triggerEvent, updateIndirectNeighbourShapes, updateShape, useItemOn, useShapeForLightOcclusion, useWithoutItemVon Klasse geerbte Methoden java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitVon Schnittstelle geerbte Methoden net.minecraft.world.level.block.EntityBlock
getListener, getTickerVon Schnittstelle geerbte Methoden info.u_team.u_team_core.api.block.EntityBlockProvider
getBlockEntity, newBlockEntity, openMenu, openMenuVon Schnittstelle geerbte Methoden net.fabricmc.fabric.api.block.v1.FabricBlock
getAppearanceVon Schnittstelle geerbte Methoden net.minecraft.world.flag.FeatureElement
isEnabled
-
Felddetails
-
blockEntityType
protected final Supplier<? extends net.minecraft.world.level.block.entity.BlockEntityType<?>> blockEntityType
-
-
Konstruktordetails
-
UEntityBlock
public UEntityBlock(net.minecraft.world.level.block.state.BlockBehaviour.Properties properties, Supplier<? extends net.minecraft.world.level.block.entity.BlockEntityType<?>> blockEntityType) -
UEntityBlock
public UEntityBlock(net.minecraft.world.level.block.state.BlockBehaviour.Properties properties, net.minecraft.world.item.Item.Properties blockItemProperties, Supplier<? extends net.minecraft.world.level.block.entity.BlockEntityType<?>> blockEntityType)
-
-
Methodendetails
-
blockEntityType
public net.minecraft.world.level.block.entity.BlockEntityType<?> blockEntityType(net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state) Beschreibung aus Schnittstelle kopiert:EntityBlockProviderReturns theBlockEntityTypethat is used for creating theBlockEntitywhenEntityBlockProvider.newBlockEntity(BlockPos, BlockState)is invoked. Can return null if for the current state or position no block entity should be created.- Angegeben von:
blockEntityTypein SchnittstelleEntityBlockProvider- Parameter:
pos- Position of the blockstate- Block state
-