Package net.minecraft.block
Class BlockRedstoneRepeater
- java.lang.Object
-
- net.zxmushroom63.plugins.BaseData
-
- net.zxmushroom63.plugins.PluginData
-
- net.minecraft.block.Block
-
- net.minecraft.block.BlockDirectional
-
- net.minecraft.block.BlockRedstoneDiode
-
- net.minecraft.block.BlockRedstoneRepeater
-
- All Implemented Interfaces:
org.teavm.jso.JSObject
public class BlockRedstoneRepeater extends BlockRedstoneDiode
+ This portion of EaglercraftX contains deobfuscated Minecraft 1.8 source code. Minecraft 1.8.8 bytecode is (c) 2015 Mojang AB. "Do not distribute!" Mod Coder Pack v9.18 deobfuscation configs are (c) Copyright by the MCP Team EaglercraftX 1.8 patch files are (c) 2022-2023 LAX1DUDE. All Rights Reserved. WITH THE EXCEPTION OF PATCH FILES, MINIFIED JAVASCRIPT, AND ALL FILES NORMALLY FOUND IN AN UNMODIFIED MINECRAFT RESOURCE PACK, YOU ARE NOT ALLOWED TO SHARE, DISTRIBUTE, OR REPURPOSE ANY FILE USED BY OR PRODUCED BY THE SOFTWARE IN THIS REPOSITORY WITHOUT PRIOR PERMISSION FROM THE PROJECT AUTHOR. NOT FOR COMMERCIAL OR MALICIOUS USE (please read the 'LICENSE' file this repo's root directory for more info)
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.minecraft.block.Block
Block.EnumOffsetType, Block.SoundType
-
Nested classes/interfaces inherited from class net.zxmushroom63.plugins.BaseData
BaseData.BooleanCallback, BaseData.BooleanCallbackArr, BaseData.DataBooleanCallback, BaseData.DataBooleanCallbackArr, BaseData.DataDoubleCallback, BaseData.DataDoubleCallbackArr, BaseData.DataFloatCallback, BaseData.DataFloatCallbackArr, BaseData.DataIntCallback, BaseData.DataIntCallbackArr, BaseData.DataObjectCallback, BaseData.DataObjectCallbackArr, BaseData.DataStringCallback, BaseData.DataStringCallbackArr, BaseData.DataVoidCallback, BaseData.DoubleCallback, BaseData.DoubleCallbackArr, BaseData.FloatCallback, BaseData.FloatCallbackArr, BaseData.IntCallback, BaseData.IntCallbackArr, BaseData.ObjectCallback, BaseData.ObjectCallbackArr, BaseData.StringCallback, BaseData.StringCallbackArr, BaseData.VoidCallback
-
-
Field Summary
Fields Modifier and Type Field Description static PropertyInteger
DELAY
static PropertyBool
LOCKED
-
Fields inherited from class net.minecraft.block.BlockRedstoneDiode
isRepeaterPowered
-
Fields inherited from class net.minecraft.block.BlockDirectional
FACING
-
Fields inherited from class net.minecraft.block.Block
BLOCK_STATE_IDS, blockHardness, blockMaterial, blockParticleGravity, blockRegistry, blockResistance, blockState, enableStats, field_181083_K, forceRender, fullBlock, isBlockContainer, lightOpacity, lightValue, maxX, maxY, maxZ, minX, minY, minZ, needsRandomTick, noRender, SLIME_SOUND, slipperiness, soundTypeAnvil, soundTypeCloth, soundTypeGlass, soundTypeGrass, soundTypeGravel, soundTypeLadder, soundTypeMetal, soundTypePiston, soundTypeSand, soundTypeSnow, soundTypeStone, soundTypeWood, stepSound, translucent, useNeighborBrightness
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
BlockRedstoneRepeater(boolean powered)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
breakBlock(World world, BlockPos blockpos, IBlockState iblockstate)
protected boolean
canPowerSide(Block block)
protected BlockState
createBlockState()
IBlockState
getActualState(IBlockState iblockstate, IBlockAccess iblockaccess, BlockPos blockpos)
+ Get the actual Block state of this Block at the given position.protected int
getDelay(IBlockState iblockstate)
Item
getItem(World var1, BlockPos var2)
Item
getItemDropped(IBlockState var1, EaglercraftRandom var2, int var3)
+ Get the Item that this Block should drop when harvested.java.lang.String
getLocalizedName()
+ Gets the localized name of this block.int
getMetaFromState(IBlockState iblockstate)
+ Convert the BlockState into the correct metadata valueprotected IBlockState
getPoweredState(IBlockState iblockstate)
IBlockState
getStateFromMeta(int i)
+ Convert the given metadata into a BlockState for this Blockprotected IBlockState
getUnpoweredState(IBlockState iblockstate)
boolean
isLocked(IBlockAccess iblockaccess, BlockPos blockpos, IBlockState iblockstate)
boolean
onBlockActivated(World world, BlockPos blockpos, IBlockState iblockstate, EntityPlayer entityplayer, EnumFacing var5, float var6, float var7, float var8)
void
randomDisplayTick(World world, BlockPos blockpos, IBlockState iblockstate, EaglercraftRandom random)
-
Methods inherited from class net.minecraft.block.BlockRedstoneDiode
calculateInputStrength, canBlockStay, canPlaceBlockAt, canProvidePower, getActiveSignal, getBlockLayer, getPowerOnSide, getPowerOnSides, getStrongPower, getTickDelay, getWeakPower, isAssociated, isAssociatedBlock, isFacingTowardsRepeater, isFullCube, isOpaqueCube, isPowered, isRedstoneRepeaterBlockID, notifyNeighbors, onBlockAdded, onBlockDestroyedByPlayer, onBlockPlaced, onBlockPlacedBy, onNeighborBlockChange, randomTick, shouldBePowered, shouldSideBeRendered, updateState, updateTick
-
Methods inherited from class net.minecraft.block.Block
addCollisionBoxesToList, bootstrapStates, canCollideCheck, canDropFromExplosion, canPlaceBlockOnSide, canReplace, canSilkHarvest, collisionRayTrace, colorMultiplier, colorMultiplier, createStackedBlock, damageDropped, disableStats, dropBlockAsItem, dropBlockAsItemWithChance, dropXpOnBlockBreak, fillWithRain, func_181623_g, getAmbientOcclusionLightValue, getBlockBoundsMaxX, getBlockBoundsMaxY, getBlockBoundsMaxZ, getBlockBoundsMinX, getBlockBoundsMinY, getBlockBoundsMinZ, getBlockById, getBlockColor, getBlockFromItem, getBlockFromName, getBlockHardness, getBlockState, getCollisionBoundingBox, getComparatorInputOverride, getCreativeTabToDisplayOn, getDamageValue, getDefaultState, getEnableStats, getExplosionResistance, getIdFromBlock, getLightOpacity, getLightValue, getMapColor, getMaterial, getMixedBrightnessForBlock, getMobilityFlag, getOffsetType, getPlayerRelativeBlockHardness, getRenderColor, getRenderType, getSelectedBoundingBox, getStateById, getStateForEntityRender, getStateId, getSubBlocks, getTickRandomly, getUnlocalizedName, getUseNeighborBrightness, harvestBlock, hasComparatorInputOverride, hasTileEntity, isBlockNormalCube, isBlockSolid, isCollidable, isEqualTo, isFlowerPot, isFullBlock, isNormalCube, isPassable, isReplaceable, isTranslucent, isVisuallyOpaque, loadPluginData, makePluginData, modifyAcceleration, onBlockClicked, onBlockDestroyedByExplosion, onBlockEventReceived, onBlockHarvested, onEntityCollidedWithBlock, onEntityCollidedWithBlock, onFallenUpon, onLanded, quantityDropped, quantityDroppedWithBonus, registerBlocks, requiresUpdates, setBlockBounds, setBlockBoundsBasedOnState, setBlockBoundsForItemRender, setBlockUnbreakable, setCreativeTab, setDefaultState, setHardness, setLightLevel, setLightOpacity, setResistance, setStepSound, setTickRandomly, setUnlocalizedName, spawnAsEntity, tickRate, toString
-
Methods inherited from class net.zxmushroom63.plugins.BaseData
execFuncBaseData, execFuncObject, execFuncString, getBaseData, getBaseDataArr, getBoolean, getBooleanArr, getByte, getByteArr, getChar, getCharArr, getDouble, getDoubleArr, getFloat, getFloatArr, getInt, getIntArr, getObject, getObjectArr, getShort, getShortArr, getString, getStringArr, has, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, setCallbackBoolean, setCallbackBooleanArr, setCallbackBooleanArrWithDataArg, setCallbackBooleanWithDataArg, setCallbackDouble, setCallbackDoubleArr, setCallbackDoubleArrWithDataArg, setCallbackDoubleWithDataArg, setCallbackFloat, setCallbackFloatArr, setCallbackFloatArrWithDataArg, setCallbackFloatWithDataArg, setCallbackInt, setCallbackIntArr, setCallbackIntArrWithDataArg, setCallbackIntWithDataArg, setCallbackObject, setCallbackObjectArr, setCallbackObjectArrWithDataArg, setCallbackObjectWithDataArg, setCallbackString, setCallbackStringArr, setCallbackStringArrWithDataArg, setCallbackStringWithDataArg, setCallbackVoid, setCallbackVoidWithDataArg, setNull
-
-
-
-
Field Detail
-
LOCKED
public static final PropertyBool LOCKED
-
DELAY
public static final PropertyInteger DELAY
-
-
Method Detail
-
getLocalizedName
public java.lang.String getLocalizedName()
+ Gets the localized name of this block. Used for the statistics page.- Overrides:
getLocalizedName
in classBlock
-
getActualState
public IBlockState getActualState(IBlockState iblockstate, IBlockAccess iblockaccess, BlockPos blockpos)
+ Get the actual Block state of this Block at the given position. This applies properties not visible in the metadata, such as fence connections.- Overrides:
getActualState
in classBlock
-
onBlockActivated
public boolean onBlockActivated(World world, BlockPos blockpos, IBlockState iblockstate, EntityPlayer entityplayer, EnumFacing var5, float var6, float var7, float var8)
- Overrides:
onBlockActivated
in classBlock
-
getDelay
protected int getDelay(IBlockState iblockstate)
- Specified by:
getDelay
in classBlockRedstoneDiode
-
getPoweredState
protected IBlockState getPoweredState(IBlockState iblockstate)
- Specified by:
getPoweredState
in classBlockRedstoneDiode
-
getUnpoweredState
protected IBlockState getUnpoweredState(IBlockState iblockstate)
- Specified by:
getUnpoweredState
in classBlockRedstoneDiode
-
getItemDropped
public Item getItemDropped(IBlockState var1, EaglercraftRandom var2, int var3)
+ Get the Item that this Block should drop when harvested.- Overrides:
getItemDropped
in classBlock
-
isLocked
public boolean isLocked(IBlockAccess iblockaccess, BlockPos blockpos, IBlockState iblockstate)
- Overrides:
isLocked
in classBlockRedstoneDiode
-
canPowerSide
protected boolean canPowerSide(Block block)
- Overrides:
canPowerSide
in classBlockRedstoneDiode
-
randomDisplayTick
public void randomDisplayTick(World world, BlockPos blockpos, IBlockState iblockstate, EaglercraftRandom random)
- Overrides:
randomDisplayTick
in classBlock
-
breakBlock
public void breakBlock(World world, BlockPos blockpos, IBlockState iblockstate)
- Overrides:
breakBlock
in classBlock
-
getStateFromMeta
public IBlockState getStateFromMeta(int i)
+ Convert the given metadata into a BlockState for this Block- Overrides:
getStateFromMeta
in classBlock
-
getMetaFromState
public int getMetaFromState(IBlockState iblockstate)
+ Convert the BlockState into the correct metadata value- Overrides:
getMetaFromState
in classBlock
-
createBlockState
protected BlockState createBlockState()
- Overrides:
createBlockState
in classBlock
-
-