Klasse UBlock

java.lang.Object
net.minecraft.world.level.block.state.BlockBehaviour
net.minecraft.world.level.block.Block
info.u_team.u_team_core.block.UBlock
Alle implementierten Schnittstellen:
BlockItemProvider, net.fabricmc.fabric.api.block.v1.FabricBlock, net.minecraft.world.flag.FeatureElement, net.minecraft.world.level.ItemLike
Bekannte direkte Unterklassen:
UEntityBlock

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

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

    net.minecraft.world.level.block.Block.BlockStatePairKey

    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.Properties, net.minecraft.world.level.block.state.BlockBehaviour.StateArgumentPredicate<A>, net.minecraft.world.level.block.state.BlockBehaviour.StatePredicate
  • Feldübersicht

    Felder
    Modifizierer und Typ
    Feld
    Beschreibung
    protected final Supplier<net.minecraft.world.item.Item>
     

    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_DROPS

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

    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
    UBlock(net.minecraft.world.level.block.state.BlockBehaviour.Properties properties)
     
    UBlock(net.minecraft.world.level.block.state.BlockBehaviour.Properties properties, net.minecraft.world.item.Item.Properties blockItemProperties)
     
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    net.minecraft.world.item.Item
    Must return the same block item instance every time you call this method.
    protected net.minecraft.world.item.Item
    createBlockItem(net.minecraft.world.item.Item.Properties blockItemProperties)
     

    Von 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, withPropertiesOf

    Von 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, useWithoutItem

    Von Klasse geerbte Methoden java.lang.Object

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

    Von Schnittstelle geerbte Methoden net.fabricmc.fabric.api.block.v1.FabricBlock

    getAppearance

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

    isEnabled
  • Felddetails

    • blockItem

      protected final Supplier<net.minecraft.world.item.Item> blockItem
  • Konstruktordetails

    • UBlock

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

      public UBlock(net.minecraft.world.level.block.state.BlockBehaviour.Properties properties, net.minecraft.world.item.Item.Properties blockItemProperties)
  • Methodendetails

    • createBlockItem

      protected net.minecraft.world.item.Item createBlockItem(net.minecraft.world.item.Item.Properties blockItemProperties)
    • blockItem

      public net.minecraft.world.item.Item blockItem()
      Beschreibung aus Schnittstelle kopiert: BlockItemProvider
      Must return the same block item instance every time you call this method. The registry name will be set to the name from the block. Can return null for no block item. If this method is called the block item must be registered!
      Angegeben von:
      blockItem in Schnittstelle BlockItemProvider
      Gibt zurück:
      Block item instance