Package paulevs.edenring.blocks
Class EdenDoublePlantBlock
java.lang.Object
net.minecraft.world.level.block.state.BlockBehaviour
net.minecraft.world.level.block.Block
org.betterx.bclib.blocks.BaseBlock
org.betterx.bclib.blocks.BaseBlockNotFull
org.betterx.bclib.blocks.BaseDoublePlantBlock
paulevs.edenring.blocks.EdenDoublePlantBlock
- All Implemented Interfaces:
net.fabricmc.fabric.api.block.v1.FabricBlock,net.minecraft.world.flag.FeatureElement,net.minecraft.world.level.block.BonemealableBlock,net.minecraft.world.level.ItemLike,org.betterx.bclib.interfaces.ItemModelProvider,org.betterx.bclib.interfaces.RenderLayerProvider,org.betterx.bclib.interfaces.RuntimeBlockModelProvider,org.betterx.wover.block.api.model.BlockModelProvider,org.betterx.wover.loot.api.BlockLootProvider
public class EdenDoublePlantBlock
extends org.betterx.bclib.blocks.BaseDoublePlantBlock
implements org.betterx.bclib.interfaces.RuntimeBlockModelProvider
-
Nested Class Summary
Nested classes/interfaces inherited from class org.betterx.bclib.blocks.BaseBlockNotFull
org.betterx.bclib.blocks.BaseBlockNotFull.Metal, org.betterx.bclib.blocks.BaseBlockNotFull.Stone, org.betterx.bclib.blocks.BaseBlockNotFull.WoodNested classes/interfaces inherited from class net.minecraft.world.level.block.Block
net.minecraft.world.level.block.Block.BlockStatePairKeyNested classes/interfaces inherited from class 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.StatePredicateNested classes/interfaces inherited from interface net.minecraft.world.level.block.BonemealableBlock
net.minecraft.world.level.block.BonemealableBlock.Type -
Field Summary
Fields inherited from class org.betterx.bclib.blocks.BaseDoublePlantBlock
ROTATION, TOPFields inherited from class 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_DROPSFields inherited from class net.minecraft.world.level.block.state.BlockBehaviour
drops, dynamicShape, explosionResistance, friction, hasCollision, isRandomlyTicking, jumpFactor, properties, requiredFeatures, soundType, speedFactor, UPDATE_SHAPE_ORDERFields inherited from interface net.minecraft.world.flag.FeatureElement
FILTERED_REGISTRIES -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@Nullable net.minecraft.client.renderer.block.model.BlockModelgetBlockModel(net.minecraft.resources.ResourceLocation blockId, net.minecraft.world.level.block.state.BlockState blockState) List<net.minecraft.world.item.ItemStack> getDrops(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.storage.loot.LootParams.Builder builder) net.minecraft.client.renderer.block.model.BlockModelgetItemModel(net.minecraft.resources.ResourceLocation itemID) net.minecraft.client.resources.model.UnbakedModelgetModelVariant(net.minecraft.client.resources.model.ModelResourceLocation stateId, net.minecraft.world.level.block.state.BlockState blockState, Map<net.minecraft.resources.ResourceLocation, net.minecraft.client.resources.model.UnbakedModel> modelCache) protected booleanisTerrain(net.minecraft.world.level.block.state.BlockState blockState) Methods inherited from class org.betterx.bclib.blocks.BaseDoublePlantBlock
canStayAt, canSurvive, createBlockStateDefinition, getRenderLayer, getShape, isBonemealSuccess, isValidBonemealTarget, performBonemeal, provideBlockModels, registerBlockLoot, setPlacedBy, updateShapeMethods inherited from class org.betterx.bclib.blocks.BaseBlockNotFull
allowsSpawning, canSuffocate, isSimpleFullBlockMethods inherited from class net.minecraft.world.level.block.Block
animateTick, appendHoverText, asBlock, asItem, box, builtInRegistryHolder, byItem, canSupportCenter, canSupportRigidBlock, codec, 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, shouldRenderFace, spawnDestroyParticles, stateById, stepOn, toString, tryDropExperience, updateEntityAfterFallOn, updateFromNeighbourShapes, updateOrDestroy, updateOrDestroy, wasExploded, withPropertiesOfMethods inherited from class net.minecraft.world.level.block.state.BlockBehaviour
attack, canBeReplaced, canBeReplaced, defaultDestroyTime, defaultMapColor, entityInside, getAnalogOutputSignal, getBlockSupportShape, getCollisionShape, getDestroyProgress, getDirectSignal, getFluidState, getInteractionShape, getLightBlock, getLootTable, getMaxHorizontalOffset, getMaxVerticalOffset, getMenuProvider, getOcclusionShape, getRenderShape, getSeed, getShadeBrightness, 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, useItemOn, useShapeForLightOcclusion, useWithoutItemMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.world.level.block.BonemealableBlock
getParticlePos, getTypeMethods inherited from interface net.fabricmc.fabric.api.block.v1.FabricBlock
getAppearanceMethods inherited from interface net.minecraft.world.flag.FeatureElement
isEnabledMethods inherited from interface org.betterx.bclib.interfaces.RuntimeBlockModelProvider
registerBlockModel
-
Constructor Details
-
EdenDoublePlantBlock
public EdenDoublePlantBlock()
-
-
Method Details
-
getBlockModel
@Environment(CLIENT) @Nullable public @Nullable net.minecraft.client.renderer.block.model.BlockModel getBlockModel(net.minecraft.resources.ResourceLocation blockId, net.minecraft.world.level.block.state.BlockState blockState) - Specified by:
getBlockModelin interfaceorg.betterx.bclib.interfaces.RuntimeBlockModelProvider
-
getModelVariant
@Environment(CLIENT) public net.minecraft.client.resources.model.UnbakedModel getModelVariant(net.minecraft.client.resources.model.ModelResourceLocation stateId, net.minecraft.world.level.block.state.BlockState blockState, Map<net.minecraft.resources.ResourceLocation, net.minecraft.client.resources.model.UnbakedModel> modelCache) - Specified by:
getModelVariantin interfaceorg.betterx.bclib.interfaces.RuntimeBlockModelProvider
-
getItemModel
@Environment(CLIENT) public net.minecraft.client.renderer.block.model.BlockModel getItemModel(net.minecraft.resources.ResourceLocation itemID) - Specified by:
getItemModelin interfaceorg.betterx.bclib.interfaces.ItemModelProvider
-
isTerrain
protected boolean isTerrain(net.minecraft.world.level.block.state.BlockState blockState) - Specified by:
isTerrainin classorg.betterx.bclib.blocks.BaseDoublePlantBlock
-
getDrops
public List<net.minecraft.world.item.ItemStack> getDrops(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.storage.loot.LootParams.Builder builder) - Overrides:
getDropsin classnet.minecraft.world.level.block.state.BlockBehaviour
-