public abstract class ConfigurableBlockBasePressurePlate
extends net.minecraft.block.BlockBasePressurePlate
implements org.cyclops.cyclopscore.config.configurable.IConfigurableBlock
BlockBasePressurePlate that can hold ExtendedConfigs.| Modifier and Type | Field and Description |
|---|---|
protected org.cyclops.cyclopscore.config.extendedconfig.BlockConfig |
eConfig |
protected boolean |
hasGui |
static net.minecraft.block.properties.PropertyBool |
POWERED |
PRESSED_AABB, PRESSURE_AABB, UNPRESSED_AABBBLOCK_STATE_IDS, blockHardness, blockMapColor, blockMaterial, blockParticleGravity, blockResistance, blockSoundType, blockState, capturedDrops, captureDrops, enableStats, FULL_BLOCK_AABB, fullBlock, harvesters, isBlockContainer, lightOpacity, lightValue, needsRandomTick, NULL_AABB, RANDOM, REGISTRY, slipperiness, translucent, useNeighborBrightness| Constructor and Description |
|---|
ConfigurableBlockBasePressurePlate(org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfig<org.cyclops.cyclopscore.config.extendedconfig.BlockConfig> eConfig,
net.minecraft.block.material.Material material)
Make a new blockState instance.
|
| Modifier and Type | Method and Description |
|---|---|
protected net.minecraft.block.state.BlockStateContainer |
createBlockState() |
net.minecraft.client.renderer.color.IBlockColor |
getBlockColorHandler() |
org.cyclops.cyclopscore.config.extendedconfig.BlockConfig |
getConfig() |
boolean |
hasGui() |
void |
neighborChanged(net.minecraft.block.state.IBlockState blockState,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos blockPos,
net.minecraft.block.Block block,
net.minecraft.util.math.BlockPos fromPos) |
breakBlock, canPlaceBlockAt, canProvidePower, canSpawnInBlock, computeRedstoneStrength, getBlockFaceShape, getBoundingBox, getCollisionBoundingBox, getMobilityFlag, getRedstoneStrength, getStrongPower, getWeakPower, isFullCube, isOpaqueCube, isPassable, onEntityCollidedWithBlock, playClickOffSound, playClickOnSound, randomTick, setRedstoneStrength, tickRate, updateNeighbors, updateState, updateTickaddCollisionBoxToList, addCollisionBoxToList, addDestroyEffects, addHitEffects, addInformation, addLandingEffects, beginLeavesDecay, canBeConnectedTo, canBeReplacedByLeaves, canCollideCheck, canConnectRedstone, canCreatureSpawn, canDropFromExplosion, canEntityDestroy, canEntitySpawn, canHarvestBlock, canPlaceBlockOnSide, canPlaceTorchOnTop, canRenderInLayer, canSilkHarvest, canSilkHarvest, canSustainLeaves, canSustainPlant, captureDrops, causesSuffocation, collisionRayTrace, createTileEntity, damageDropped, disableStats, doesSideBlockRendering, dropBlockAsItem, dropBlockAsItemWithChance, dropXpOnBlockBreak, eventReceived, fillWithRain, getActualState, getAiPathNodeType, getAmbientOcclusionLightValue, getBeaconColorMultiplier, getBedDirection, getBedSpawnPosition, getBlockById, getBlockFromItem, getBlockFromName, getBlockHardness, getBlockLayer, getBlockState, getComparatorInputOverride, getCreativeTabToDisplayOn, getDefaultState, getDrops, getDrops, getEnableStats, getEnchantPowerBonus, getExpDrop, getExplosionResistance, getExplosionResistance, getExtendedState, getFireSpreadSpeed, getFlammability, getFogColor, getHarvestLevel, getHarvestTool, getIdFromBlock, getItem, getItemDropped, getLightOpacity, getLightOpacity, getLightValue, getLightValue, getLocalizedName, getMapColor, getMaterial, getMetaFromState, getOffset, getOffsetType, getPackedLightmapCoords, getPickBlock, getPlayerRelativeBlockHardness, getRenderType, getSelectedBoundingBox, getSilkTouchDrop, getSoundType, getSoundType, getStateById, getStateForPlacement, getStateForPlacement, getStateFromMeta, getStateId, getSubBlocks, getTickRandomly, getUnlocalizedName, getUseNeighborBrightness, getValidRotations, getWeakChanges, harvestBlock, hasComparatorInputOverride, hasCustomBreakingProgress, hasTileEntity, hasTileEntity, isAABBInsideMaterial, isAir, isAssociatedBlock, isBeaconBase, isBed, isBedFoot, isBlockNormalCube, isBurning, isCollidable, isEntityInsideMaterial, isEqualTo, isExceptBlockForAttachWithPiston, isExceptionBlockForAttaching, isFertile, isFireSource, isFlammable, isFoliage, isFullBlock, isLadder, isLeaves, isNormalCube, isNormalCube, isReplaceable, isReplaceableOreGen, isSideSolid, isToolEffective, isTopSolid, isTranslucent, isWood, modifyAcceleration, observedNeighborChange, onBlockActivated, onBlockAdded, onBlockClicked, onBlockDestroyedByExplosion, onBlockDestroyedByPlayer, onBlockExploded, onBlockHarvested, onBlockPlacedBy, onEntityWalk, onFallenUpon, onLanded, onNeighborChange, onPlantGrow, quantityDropped, quantityDropped, quantityDroppedWithBonus, randomDisplayTick, rayTrace, recolorBlock, registerBlocks, removedByPlayer, requiresUpdates, rotateBlock, setBedOccupied, setBlockUnbreakable, setCreativeTab, setDefaultState, setHardness, setHarvestLevel, setHarvestLevel, setLightLevel, setLightOpacity, setResistance, setSoundType, setTickRandomly, setUnlocalizedName, shouldCheckWeakPower, shouldSideBeRendered, spawnAsEntity, toString, withMirror, withRotationpublic static final net.minecraft.block.properties.PropertyBool POWERED
protected org.cyclops.cyclopscore.config.extendedconfig.BlockConfig eConfig
protected boolean hasGui
public ConfigurableBlockBasePressurePlate(org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfig<org.cyclops.cyclopscore.config.extendedconfig.BlockConfig> eConfig,
net.minecraft.block.material.Material material)
eConfig - Config for this blockState.material - Material of this blockState.protected net.minecraft.block.state.BlockStateContainer createBlockState()
createBlockState in class net.minecraft.block.Blockpublic boolean hasGui()
hasGui in interface org.cyclops.cyclopscore.config.configurable.IConfigurableBlock@Nullable public net.minecraft.client.renderer.color.IBlockColor getBlockColorHandler()
getBlockColorHandler in interface org.cyclops.cyclopscore.config.configurable.IConfigurableBlockpublic void neighborChanged(net.minecraft.block.state.IBlockState blockState,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos blockPos,
net.minecraft.block.Block block,
net.minecraft.util.math.BlockPos fromPos)
neighborChanged in class net.minecraft.block.BlockBasePressurePlatepublic org.cyclops.cyclopscore.config.extendedconfig.BlockConfig getConfig()
getConfig in interface org.cyclops.cyclopscore.config.configurable.IConfigurable<org.cyclops.cyclopscore.config.extendedconfig.BlockConfig>