Package net.minecraft.block
Class BlockTrapDoor
- java.lang.Object
- 
- net.zxmushroom63.plugins.BaseData
- 
- net.zxmushroom63.plugins.PluginData
- 
- net.minecraft.block.Block
- 
- net.minecraft.block.BlockTrapDoor
 
 
 
 
- 
- All Implemented Interfaces:
- org.teavm.jso.JSObject
 
 public class BlockTrapDoor extends Block + 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 SummaryNested Classes Modifier and Type Class Description static classBlockTrapDoor.DoorHalf- 
Nested classes/interfaces inherited from class net.minecraft.block.BlockBlock.EnumOffsetType, Block.SoundType
 - 
Nested classes/interfaces inherited from class net.zxmushroom63.plugins.BaseDataBaseData.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 SummaryFields Modifier and Type Field Description static PropertyDirectionFACINGstatic PropertyEnum<BlockTrapDoor.DoorHalf>HALFstatic PropertyBoolOPEN- 
Fields inherited from class net.minecraft.block.BlockBLOCK_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 SummaryConstructors Modifier Constructor Description protectedBlockTrapDoor(Material materialIn)
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static voidbootstrapStates()booleancanPlaceBlockOnSide(World world, BlockPos blockpos, EnumFacing enumfacing)+ Check whether this Block can be placed on the given sideMovingObjectPositioncollisionRayTrace(World world, BlockPos blockpos, Vec3 vec3, Vec3 vec31)+ Ray traces through the blocks collision from start vector to end vector returning a ray trace hit.protected BlockStatecreateBlockState()EnumWorldBlockLayergetBlockLayer()AxisAlignedBBgetCollisionBoundingBox(World world, BlockPos blockpos, IBlockState iblockstate)protected static EnumFacinggetFacing(int meta)protected static intgetMetaForFacing(EnumFacing facing)intgetMetaFromState(IBlockState iblockstate)+ Convert the BlockState into the correct metadata valueAxisAlignedBBgetSelectedBoundingBox(World world, BlockPos blockpos)IBlockStategetStateFromMeta(int i)+ Convert the given metadata into a BlockState for this BlockbooleanisFullCube()booleanisOpaqueCube()+ Used to determine ambient occlusion and culling when rebuilding chunks for renderbooleanisPassable(IBlockAccess iblockaccess, BlockPos blockpos)booleanonBlockActivated(World world, BlockPos blockpos, IBlockState iblockstate, EntityPlayer entityplayer, EnumFacing var5, float var6, float var7, float var8)IBlockStateonBlockPlaced(World var1, BlockPos var2, EnumFacing enumfacing, float var4, float f, float var6, int var7, EntityLivingBase var8)+ Called by ItemBlocks just before a block is actually set in the world, to allow for adjustments to the IBlockstatevoidsetBlockBoundsBasedOnState(IBlockAccess iblockaccess, BlockPos blockpos)voidsetBlockBoundsForItemRender()+ Sets the block's bounds for rendering it as an itemvoidsetBounds(IBlockState state)- 
Methods inherited from class net.minecraft.block.BlockaddCollisionBoxesToList, breakBlock, canCollideCheck, canDropFromExplosion, canPlaceBlockAt, canProvidePower, canReplace, canSilkHarvest, colorMultiplier, colorMultiplier, createStackedBlock, damageDropped, disableStats, dropBlockAsItem, dropBlockAsItemWithChance, dropXpOnBlockBreak, fillWithRain, func_181623_g, getActualState, getAmbientOcclusionLightValue, getBlockBoundsMaxX, getBlockBoundsMaxY, getBlockBoundsMaxZ, getBlockBoundsMinX, getBlockBoundsMinY, getBlockBoundsMinZ, getBlockById, getBlockColor, getBlockFromItem, getBlockFromName, getBlockHardness, getBlockState, getComparatorInputOverride, getCreativeTabToDisplayOn, getDamageValue, getDefaultState, getEnableStats, getExplosionResistance, getIdFromBlock, getItem, getItemDropped, getLightOpacity, getLightValue, getLocalizedName, getMapColor, getMaterial, getMixedBrightnessForBlock, getMobilityFlag, getOffsetType, getPlayerRelativeBlockHardness, getRenderColor, getRenderType, getStateById, getStateForEntityRender, getStateId, getStrongPower, getSubBlocks, getTickRandomly, getUnlocalizedName, getUseNeighborBrightness, getWeakPower, harvestBlock, hasComparatorInputOverride, hasTileEntity, isAssociatedBlock, isBlockNormalCube, isBlockSolid, isCollidable, isEqualTo, isFlowerPot, isFullBlock, isNormalCube, isReplaceable, isTranslucent, isVisuallyOpaque, loadPluginData, makePluginData, modifyAcceleration, onBlockAdded, onBlockClicked, onBlockDestroyedByExplosion, onBlockDestroyedByPlayer, onBlockEventReceived, onBlockHarvested, onBlockPlacedBy, onEntityCollidedWithBlock, onEntityCollidedWithBlock, onFallenUpon, onLanded, onNeighborBlockChange, quantityDropped, quantityDroppedWithBonus, randomDisplayTick, randomTick, registerBlocks, requiresUpdates, setBlockBounds, setBlockUnbreakable, setCreativeTab, setDefaultState, setHardness, setLightLevel, setLightOpacity, setResistance, setStepSound, setTickRandomly, setUnlocalizedName, shouldSideBeRendered, spawnAsEntity, tickRate, toString, updateTick
 - 
Methods inherited from class net.zxmushroom63.plugins.BaseDataexecFuncBaseData, 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- 
FACINGpublic static final PropertyDirection FACING 
 - 
OPENpublic static final PropertyBool OPEN 
 - 
HALFpublic static PropertyEnum<BlockTrapDoor.DoorHalf> HALF 
 
- 
 - 
Constructor Detail- 
BlockTrapDoorprotected BlockTrapDoor(Material materialIn) 
 
- 
 - 
Method Detail- 
bootstrapStatespublic static void bootstrapStates() 
 - 
isOpaqueCubepublic boolean isOpaqueCube() + Used to determine ambient occlusion and culling when rebuilding chunks for render- Overrides:
- isOpaqueCubein class- Block
 
 - 
isFullCubepublic boolean isFullCube() - Overrides:
- isFullCubein class- Block
 
 - 
isPassablepublic boolean isPassable(IBlockAccess iblockaccess, BlockPos blockpos) - Overrides:
- isPassablein class- Block
 
 - 
getSelectedBoundingBoxpublic AxisAlignedBB getSelectedBoundingBox(World world, BlockPos blockpos) - Overrides:
- getSelectedBoundingBoxin class- Block
 
 - 
getCollisionBoundingBoxpublic AxisAlignedBB getCollisionBoundingBox(World world, BlockPos blockpos, IBlockState iblockstate) - Overrides:
- getCollisionBoundingBoxin class- Block
 
 - 
setBlockBoundsBasedOnStatepublic void setBlockBoundsBasedOnState(IBlockAccess iblockaccess, BlockPos blockpos) - Overrides:
- setBlockBoundsBasedOnStatein class- Block
 
 - 
setBlockBoundsForItemRenderpublic void setBlockBoundsForItemRender() + Sets the block's bounds for rendering it as an item- Overrides:
- setBlockBoundsForItemRenderin class- Block
 
 - 
setBoundspublic void setBounds(IBlockState state) 
 - 
onBlockActivatedpublic boolean onBlockActivated(World world, BlockPos blockpos, IBlockState iblockstate, EntityPlayer entityplayer, EnumFacing var5, float var6, float var7, float var8) - Overrides:
- onBlockActivatedin class- Block
 
 - 
collisionRayTracepublic MovingObjectPosition collisionRayTrace(World world, BlockPos blockpos, Vec3 vec3, Vec3 vec31) + Ray traces through the blocks collision from start vector to end vector returning a ray trace hit.- Overrides:
- collisionRayTracein class- Block
 
 - 
onBlockPlacedpublic IBlockState onBlockPlaced(World var1, BlockPos var2, EnumFacing enumfacing, float var4, float f, float var6, int var7, EntityLivingBase var8) + Called by ItemBlocks just before a block is actually set in the world, to allow for adjustments to the IBlockstate- Overrides:
- onBlockPlacedin class- Block
 
 - 
canPlaceBlockOnSidepublic boolean canPlaceBlockOnSide(World world, BlockPos blockpos, EnumFacing enumfacing) + Check whether this Block can be placed on the given side- Overrides:
- canPlaceBlockOnSidein class- Block
 
 - 
getFacingprotected static EnumFacing getFacing(int meta) 
 - 
getMetaForFacingprotected static int getMetaForFacing(EnumFacing facing) 
 - 
getBlockLayerpublic EnumWorldBlockLayer getBlockLayer() - Overrides:
- getBlockLayerin class- Block
 
 - 
getStateFromMetapublic IBlockState getStateFromMeta(int i) + Convert the given metadata into a BlockState for this Block- Overrides:
- getStateFromMetain class- Block
 
 - 
getMetaFromStatepublic int getMetaFromState(IBlockState iblockstate) + Convert the BlockState into the correct metadata value- Overrides:
- getMetaFromStatein class- Block
 
 - 
createBlockStateprotected BlockState createBlockState() - Overrides:
- createBlockStatein class- Block
 
 
- 
 
-