diff options
| author | Foghrye4 <foghrye4@gmail.com> | 2017-06-17 08:12:18 +0300 |
|---|---|---|
| committer | Foghrye4 <foghrye4@gmail.com> | 2017-06-17 08:12:18 +0300 |
| commit | dc3df3edd5843bde0c1335d6a8e460b2c832aa48 (patch) | |
| tree | af13bfeee567f2351e35e1ef176d168fe37c8aac /javadoc/net/minecraft/block/Block.html | |
| parent | 1da8dcd58647e34c9af94ceeecaeaf3b0d08c48c (diff) | |
full project files
Diffstat (limited to 'javadoc/net/minecraft/block/Block.html')
| -rw-r--r-- | javadoc/net/minecraft/block/Block.html | 4364 |
1 files changed, 4364 insertions, 0 deletions
diff --git a/javadoc/net/minecraft/block/Block.html b/javadoc/net/minecraft/block/Block.html new file mode 100644 index 0000000..bf6ce52 --- /dev/null +++ b/javadoc/net/minecraft/block/Block.html @@ -0,0 +1,4364 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!-- NewPage --> +<html lang="en"> +<head> +<!-- Generated by javadoc (version 1.7.0_65) on Thu Feb 05 20:10:20 EST 2015 --> +<title>Block (Forge API)</title> +<meta name="date" content="2015-02-05"> +<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style"> +</head> +<body> +<script type="text/javascript"><!-- + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="Block (Forge API)"; + } +//--> +</script> +<noscript> +<div>JavaScript is disabled on your browser.</div> +</noscript> +<!-- ========= START OF TOP NAVBAR ======= --> +<div class="topNav"><a name="navbar_top"> +<!-- --> +</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../overview-summary.html">Overview</a></li> +<li><a href="package-summary.html">Package</a></li> +<li class="navBarCell1Rev">Class</li> +<li><a href="package-tree.html">Tree</a></li> +<li><a href="../../../deprecated-list.html">Deprecated</a></li> +<li><a href="../../../index-all.html">Index</a></li> +<li><a href="../../../help-doc.html">Help</a></li> +</ul> +</div> +<div class="subNav"> +<ul class="navList"> +<li>Prev Class</li> +<li><a href="../../../net/minecraft/block/Block.SoundType.html" title="class in net.minecraft.block"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../index.html?net/minecraft/block/Block.html" target="_top">Frames</a></li> +<li><a href="Block.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_top"> +<li><a href="../../../allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_top"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +</div> +<div> +<ul class="subNavList"> +<li>Summary: </li> +<li><a href="#nested_class_summary">Nested</a> | </li> +<li><a href="#field_summary">Field</a> | </li> +<li><a href="#constructor_summary">Constr</a> | </li> +<li><a href="#method_summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li><a href="#field_detail">Field</a> | </li> +<li><a href="#constructor_detail">Constr</a> | </li> +<li><a href="#method_detail">Method</a></li> +</ul> +</div> +<a name="skip-navbar_top"> +<!-- --> +</a></div> +<!-- ========= END OF TOP NAVBAR ========= --> +<!-- ======== START OF CLASS DATA ======== --> +<div class="header"> +<div class="subTitle">net.minecraft.block</div> +<h2 title="Class Block" class="title">Class Block</h2> +</div> +<div class="contentContainer"> +<ul class="inheritance"> +<li>java.lang.Object</li> +<li> +<ul class="inheritance"> +<li>net.minecraft.block.Block</li> +</ul> +</li> +</ul> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<dl> +<dt>Direct Known Subclasses:</dt> +<dd><a href="../../../net/minecraft/block/BlockAir.html" title="class in net.minecraft.block">BlockAir</a>, <a href="../../../net/minecraft/block/BlockBasePressurePlate.html" title="class in net.minecraft.block">BlockBasePressurePlate</a>, <a href="../../../net/minecraft/block/BlockBookshelf.html" title="class in net.minecraft.block">BlockBookshelf</a>, <a href="../../../net/minecraft/block/BlockBreakable.html" title="class in net.minecraft.block">BlockBreakable</a>, <a href="../../../net/minecraft/block/BlockBush.html" title="class in net.minecraft.block">BlockBush</a>, <a href="../../../net/minecraft/block/BlockButton.html" title="class in net.minecraft.block">BlockButton</a>, <a href="../../../net/minecraft/block/BlockCactus.html" title="class in net.minecraft.block">BlockCactus</a>, <a href="../../../net/minecraft/block/BlockCake.html" title="class in net.minecraft.block">BlockCake</a>, <a href="../../../net/minecraft/block/BlockCarpet.html" title="class in net.minecraft.block">BlockCarpet</a>, <a href="../../../net/minecraft/block/BlockCauldron.html" title="class in net.minecraft.block">BlockCauldron</a>, <a href="../../../net/minecraft/block/BlockClay.html" title="class in net.minecraft.block">BlockClay</a>, <a href="../../../net/minecraft/block/BlockColored.html" title="class in net.minecraft.block">BlockColored</a>, <a href="../../../net/minecraft/block/BlockCompressed.html" title="class in net.minecraft.block">BlockCompressed</a>, <a href="../../../net/minecraft/block/BlockContainer.html" title="class in net.minecraft.block">BlockContainer</a>, <a href="../../../net/minecraft/block/BlockDirectional.html" title="class in net.minecraft.block">BlockDirectional</a>, <a href="../../../net/minecraft/block/BlockDirt.html" title="class in net.minecraft.block">BlockDirt</a>, <a href="../../../net/minecraft/block/BlockDoor.html" title="class in net.minecraft.block">BlockDoor</a>, <a href="../../../net/minecraft/block/BlockDragonEgg.html" title="class in net.minecraft.block">BlockDragonEgg</a>, <a href="../../../net/minecraft/block/BlockEndPortalFrame.html" title="class in net.minecraft.block">BlockEndPortalFrame</a>, <a href="../../../net/minecraft/block/BlockFalling.html" title="class in net.minecraft.block">BlockFalling</a>, <a href="../../../net/minecraft/block/BlockFarmland.html" title="class in net.minecraft.block">BlockFarmland</a>, <a href="../../../net/minecraft/block/BlockFence.html" title="class in net.minecraft.block">BlockFence</a>, <a href="../../../net/minecraft/block/BlockFire.html" title="class in net.minecraft.block">BlockFire</a>, <a href="../../../net/minecraftforge/fluids/BlockFluidBase.html" title="class in net.minecraftforge.fluids">BlockFluidBase</a>, <a href="../../../net/minecraft/block/BlockGlowstone.html" title="class in net.minecraft.block">BlockGlowstone</a>, <a href="../../../net/minecraft/block/BlockGrass.html" title="class in net.minecraft.block">BlockGrass</a>, <a href="../../../net/minecraft/block/BlockHardenedClay.html" title="class in net.minecraft.block">BlockHardenedClay</a>, <a href="../../../net/minecraft/block/BlockHugeMushroom.html" title="class in net.minecraft.block">BlockHugeMushroom</a>, <a href="../../../net/minecraft/block/BlockLadder.html" title="class in net.minecraft.block">BlockLadder</a>, <a href="../../../net/minecraft/block/BlockLeavesBase.html" title="class in net.minecraft.block">BlockLeavesBase</a>, <a href="../../../net/minecraft/block/BlockLever.html" title="class in net.minecraft.block">BlockLever</a>, <a href="../../../net/minecraft/block/BlockLiquid.html" title="class in net.minecraft.block">BlockLiquid</a>, <a href="../../../net/minecraft/block/BlockMelon.html" title="class in net.minecraft.block">BlockMelon</a>, <a href="../../../net/minecraft/block/BlockMycelium.html" title="class in net.minecraft.block">BlockMycelium</a>, <a href="../../../net/minecraft/block/BlockNetherrack.html" title="class in net.minecraft.block">BlockNetherrack</a>, <a href="../../../net/minecraft/block/BlockOre.html" title="class in net.minecraft.block">BlockOre</a>, <a href="../../../net/minecraft/block/BlockPackedIce.html" title="class in net.minecraft.block">BlockPackedIce</a>, <a href="../../../net/minecraft/block/BlockPane.html" title="class in net.minecraft.block">BlockPane</a>, <a href="../../../net/minecraft/block/BlockPistonBase.html" title="class in net.minecraft.block">BlockPistonBase</a>, <a href="../../../net/minecraft/block/BlockPistonExtension.html" title="class in net.minecraft.block">BlockPistonExtension</a>, <a href="../../../net/minecraft/block/BlockQuartz.html" title="class in net.minecraft.block">BlockQuartz</a>, <a href="../../../net/minecraft/block/BlockRailBase.html" title="class in net.minecraft.block">BlockRailBase</a>, <a href="../../../net/minecraft/block/BlockRedstoneLight.html" title="class in net.minecraft.block">BlockRedstoneLight</a>, <a href="../../../net/minecraft/block/BlockRedstoneOre.html" title="class in net.minecraft.block">BlockRedstoneOre</a>, <a href="../../../net/minecraft/block/BlockRedstoneWire.html" title="class in net.minecraft.block">BlockRedstoneWire</a>, <a href="../../../net/minecraft/block/BlockReed.html" title="class in net.minecraft.block">BlockReed</a>, <a href="../../../net/minecraft/block/BlockRotatedPillar.html" title="class in net.minecraft.block">BlockRotatedPillar</a>, <a href="../../../net/minecraft/block/BlockSandStone.html" title="class in net.minecraft.block">BlockSandStone</a>, <a href="../../../net/minecraft/block/BlockSilverfish.html" title="class in net.minecraft.block">BlockSilverfish</a>, <a href="../../../net/minecraft/block/BlockSlab.html" title="class in net.minecraft.block">BlockSlab</a>, <a href="../../../net/minecraft/block/BlockSnow.html" title="class in net.minecraft.block">BlockSnow</a>, <a href="../../../net/minecraft/block/BlockSnowBlock.html" title="class in net.minecraft.block">BlockSnowBlock</a>, <a href="../../../net/minecraft/block/BlockSoulSand.html" title="class in net.minecraft.block">BlockSoulSand</a>, <a href="../../../net/minecraft/block/BlockSponge.html" title="class in net.minecraft.block">BlockSponge</a>, <a href="../../../net/minecraft/block/BlockStairs.html" title="class in net.minecraft.block">BlockStairs</a>, <a href="../../../net/minecraft/block/BlockStone.html" title="class in net.minecraft.block">BlockStone</a>, <a href="../../../net/minecraft/block/BlockStoneBrick.html" title="class in net.minecraft.block">BlockStoneBrick</a>, <a href="../../../net/minecraft/block/BlockTNT.html" title="class in net.minecraft.block">BlockTNT</a>, <a href="../../../net/minecraft/block/BlockTorch.html" title="class in net.minecraft.block">BlockTorch</a>, <a href="../../../net/minecraft/block/BlockTrapDoor.html" title="class in net.minecraft.block">BlockTrapDoor</a>, <a href="../../../net/minecraft/block/BlockTripWire.html" title="class in net.minecraft.block">BlockTripWire</a>, <a href="../../../net/minecraft/block/BlockTripWireHook.html" title="class in net.minecraft.block">BlockTripWireHook</a>, <a href="../../../net/minecraft/block/BlockVine.html" title="class in net.minecraft.block">BlockVine</a>, <a href="../../../net/minecraft/block/BlockWall.html" title="class in net.minecraft.block">BlockWall</a>, <a href="../../../net/minecraft/block/BlockWeb.html" title="class in net.minecraft.block">BlockWeb</a>, <a href="../../../net/minecraft/block/BlockWood.html" title="class in net.minecraft.block">BlockWood</a>, <a href="../../../net/minecraft/block/BlockWorkbench.html" title="class in net.minecraft.block">BlockWorkbench</a></dd> +</dl> +<hr> +<br> +<pre>public class <span class="strong">Block</span> +extends java.lang.Object</pre> +</li> +</ul> +</div> +<div class="summary"> +<ul class="blockList"> +<li class="blockList"> +<!-- ======== NESTED CLASS SUMMARY ======== --> +<ul class="blockList"> +<li class="blockList"><a name="nested_class_summary"> +<!-- --> +</a> +<h3>Nested Class Summary</h3> +<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Nested Class Summary table, listing nested classes, and an explanation"> +<caption><span>Nested Classes</span><span class="tabEnd"> </span></caption> +<tr> +<th class="colFirst" scope="col">Modifier and Type</th> +<th class="colLast" scope="col">Class and Description</th> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static class </code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.SoundType.html" title="class in net.minecraft.block">Block.SoundType</a></strong></code> </td> +</tr> +</table> +</li> +</ul> +<!-- =========== FIELD SUMMARY =========== --> +<ul class="blockList"> +<li class="blockList"><a name="field_summary"> +<!-- --> +</a> +<h3>Field Summary</h3> +<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation"> +<caption><span>Fields</span><span class="tabEnd"> </span></caption> +<tr> +<th class="colFirst" scope="col">Modifier and Type</th> +<th class="colLast" scope="col">Field and Description</th> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>protected boolean</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#blockConstructorCalled">blockConstructorCalled</a></strong></code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>protected float</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#blockHardness">blockHardness</a></strong></code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>protected <a href="../../../net/minecraft/util/IIcon.html" title="interface in net.minecraft.util">IIcon</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#blockIcon">blockIcon</a></strong></code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>protected <a href="../../../net/minecraft/block/material/Material.html" title="class in net.minecraft.block.material">Material</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#blockMaterial">blockMaterial</a></strong></code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>float</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#blockParticleGravity">blockParticleGravity</a></strong></code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static <a href="../../../net/minecraft/util/RegistryNamespaced.html" title="class in net.minecraft.util">RegistryNamespaced</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#blockRegistry">blockRegistry</a></strong></code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>protected float</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#blockResistance">blockResistance</a></strong></code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>protected boolean</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#canBlockGrass">canBlockGrass</a></strong></code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>protected java.lang.ThreadLocal<java.util.List<<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a>>></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#capturedDrops">capturedDrops</a></strong></code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>protected java.lang.ThreadLocal<java.lang.Boolean></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#captureDrops">captureDrops</a></strong></code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code><a href="../../../cpw/mods/fml/common/registry/RegistryDelegate.html" title="interface in cpw.mods.fml.common.registry">RegistryDelegate</a><<a href="../../../net/minecraft/block/Block.html" title="class in net.minecraft.block">Block</a>></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#delegate">delegate</a></strong></code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>protected boolean</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#enableStats">enableStats</a></strong></code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>protected java.lang.ThreadLocal<<a href="../../../net/minecraft/entity/player/EntityPlayer.html" title="class in net.minecraft.entity.player">EntityPlayer</a>></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#harvesters">harvesters</a></strong></code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>protected boolean</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#isBlockContainer">isBlockContainer</a></strong></code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>protected int</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#lightOpacity">lightOpacity</a></strong></code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>protected int</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#lightValue">lightValue</a></strong></code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>protected double</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#maxX">maxX</a></strong></code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>protected double</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#maxY">maxY</a></strong></code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>protected double</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#maxZ">maxZ</a></strong></code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>protected double</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#minX">minX</a></strong></code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>protected double</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#minY">minY</a></strong></code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>protected double</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#minZ">minZ</a></strong></code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>protected boolean</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#needsRandomTick">needsRandomTick</a></strong></code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>protected boolean</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#opaque">opaque</a></strong></code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>float</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#slipperiness">slipperiness</a></strong></code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static <a href="../../../net/minecraft/block/Block.SoundType.html" title="class in net.minecraft.block">Block.SoundType</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#soundTypeAnvil">soundTypeAnvil</a></strong></code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static <a href="../../../net/minecraft/block/Block.SoundType.html" title="class in net.minecraft.block">Block.SoundType</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#soundTypeCloth">soundTypeCloth</a></strong></code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static <a href="../../../net/minecraft/block/Block.SoundType.html" title="class in net.minecraft.block">Block.SoundType</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#soundTypeGlass">soundTypeGlass</a></strong></code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static <a href="../../../net/minecraft/block/Block.SoundType.html" title="class in net.minecraft.block">Block.SoundType</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#soundTypeGrass">soundTypeGrass</a></strong></code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static <a href="../../../net/minecraft/block/Block.SoundType.html" title="class in net.minecraft.block">Block.SoundType</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#soundTypeGravel">soundTypeGravel</a></strong></code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static <a href="../../../net/minecraft/block/Block.SoundType.html" title="class in net.minecraft.block">Block.SoundType</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#soundTypeLadder">soundTypeLadder</a></strong></code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static <a href="../../../net/minecraft/block/Block.SoundType.html" title="class in net.minecraft.block">Block.SoundType</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#soundTypeMetal">soundTypeMetal</a></strong></code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static <a href="../../../net/minecraft/block/Block.SoundType.html" title="class in net.minecraft.block">Block.SoundType</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#soundTypePiston">soundTypePiston</a></strong></code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static <a href="../../../net/minecraft/block/Block.SoundType.html" title="class in net.minecraft.block">Block.SoundType</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#soundTypeSand">soundTypeSand</a></strong></code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static <a href="../../../net/minecraft/block/Block.SoundType.html" title="class in net.minecraft.block">Block.SoundType</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#soundTypeSnow">soundTypeSnow</a></strong></code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static <a href="../../../net/minecraft/block/Block.SoundType.html" title="class in net.minecraft.block">Block.SoundType</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#soundTypeStone">soundTypeStone</a></strong></code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static <a href="../../../net/minecraft/block/Block.SoundType.html" title="class in net.minecraft.block">Block.SoundType</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#soundTypeWood">soundTypeWood</a></strong></code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code><a href="../../../net/minecraft/block/Block.SoundType.html" title="class in net.minecraft.block">Block.SoundType</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#stepSound">stepSound</a></strong></code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>protected java.lang.String</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#textureName">textureName</a></strong></code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>protected boolean</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#useNeighborBrightness">useNeighborBrightness</a></strong></code> </td> +</tr> +</table> +</li> +</ul> +<!-- ======== CONSTRUCTOR SUMMARY ======== --> +<ul class="blockList"> +<li class="blockList"><a name="constructor_summary"> +<!-- --> +</a> +<h3>Constructor Summary</h3> +<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> +<caption><span>Constructors</span><span class="tabEnd"> </span></caption> +<tr> +<th class="colFirst" scope="col">Modifier</th> +<th class="colLast" scope="col">Constructor and Description</th> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>protected </code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#Block(net.minecraft.block.material.Material)">Block</a></strong>(<a href="../../../net/minecraft/block/material/Material.html" title="class in net.minecraft.block.material">Material</a> p_i45394_1_)</code> </td> +</tr> +</table> +</li> +</ul> +<!-- ========== METHOD SUMMARY =========== --> +<ul class="blockList"> +<li class="blockList"><a name="method_summary"> +<!-- --> +</a> +<h3>Method Summary</h3> +<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> +<caption><span>Methods</span><span class="tabEnd"> </span></caption> +<tr> +<th class="colFirst" scope="col">Modifier and Type</th> +<th class="colLast" scope="col">Method and Description</th> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#addCollisionBoxesToList(net.minecraft.world.World,%20int,%20int,%20int,%20net.minecraft.util.AxisAlignedBB,%20java.util.List,%20net.minecraft.entity.Entity)">addCollisionBoxesToList</a></strong>(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> p_149743_1_, + int p_149743_2_, + int p_149743_3_, + int p_149743_4_, + <a href="../../../net/minecraft/util/AxisAlignedBB.html" title="class in net.minecraft.util">AxisAlignedBB</a> p_149743_5_, + java.util.List p_149743_6_, + <a href="../../../net/minecraft/entity/Entity.html" title="class in net.minecraft.entity">Entity</a> p_149743_7_)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#addDestroyEffects(net.minecraft.world.World,%20int,%20int,%20int,%20int,%20net.minecraft.client.particle.EffectRenderer)">addDestroyEffects</a></strong>(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> world, + int x, + int y, + int z, + int meta, + <a href="../../../net/minecraft/client/particle/EffectRenderer.html" title="class in net.minecraft.client.particle">EffectRenderer</a> effectRenderer)</code> +<div class="block">Spawn particles for when the block is destroyed.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#addHitEffects(net.minecraft.world.World,%20net.minecraft.util.MovingObjectPosition,%20net.minecraft.client.particle.EffectRenderer)">addHitEffects</a></strong>(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> worldObj, + <a href="../../../net/minecraft/util/MovingObjectPosition.html" title="class in net.minecraft.util">MovingObjectPosition</a> target, + <a href="../../../net/minecraft/client/particle/EffectRenderer.html" title="class in net.minecraft.client.particle">EffectRenderer</a> effectRenderer)</code> +<div class="block">Spawn a digging particle effect in the world, this is a wrapper + around EffectRenderer.addBlockHitEffects to allow the block more + control over the particles.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#beginLeavesDecay(net.minecraft.world.World,%20int,%20int,%20int)">beginLeavesDecay</a></strong>(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> world, + int x, + int y, + int z)</code> +<div class="block">Called when a leaf should start its decay process.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#breakBlock(net.minecraft.world.World,%20int,%20int,%20int,%20net.minecraft.block.Block,%20int)">breakBlock</a></strong>(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> p_149749_1_, + int p_149749_2_, + int p_149749_3_, + int p_149749_4_, + <a href="../../../net/minecraft/block/Block.html" title="class in net.minecraft.block">Block</a> p_149749_5_, + int p_149749_6_)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#canBeReplacedByLeaves(net.minecraft.world.IBlockAccess,%20int,%20int,%20int)">canBeReplacedByLeaves</a></strong>(<a href="../../../net/minecraft/world/IBlockAccess.html" title="interface in net.minecraft.world">IBlockAccess</a> world, + int x, + int y, + int z)</code> +<div class="block">Used during tree growth to determine if newly generated leaves can replace this block.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#canBlockStay(net.minecraft.world.World,%20int,%20int,%20int)">canBlockStay</a></strong>(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> p_149718_1_, + int p_149718_2_, + int p_149718_3_, + int p_149718_4_)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#canCollideCheck(int,%20boolean)">canCollideCheck</a></strong>(int p_149678_1_, + boolean p_149678_2_)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#canConnectRedstone(net.minecraft.world.IBlockAccess,%20int,%20int,%20int,%20int)">canConnectRedstone</a></strong>(<a href="../../../net/minecraft/world/IBlockAccess.html" title="interface in net.minecraft.world">IBlockAccess</a> world, + int x, + int y, + int z, + int side)</code> +<div class="block">Determine if this block can make a redstone connection on the side provided, + Useful to control which sides are inputs and outputs for redstone wires.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#canCreatureSpawn(net.minecraft.entity.EnumCreatureType,%20net.minecraft.world.IBlockAccess,%20int,%20int,%20int)">canCreatureSpawn</a></strong>(<a href="../../../net/minecraft/entity/EnumCreatureType.html" title="enum in net.minecraft.entity">EnumCreatureType</a> type, + <a href="../../../net/minecraft/world/IBlockAccess.html" title="interface in net.minecraft.world">IBlockAccess</a> world, + int x, + int y, + int z)</code> +<div class="block">Determines if a specified mob type can spawn on this block, returning false will + prevent any mob from spawning on the block.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#canDropFromExplosion(net.minecraft.world.Explosion)">canDropFromExplosion</a></strong>(<a href="../../../net/minecraft/world/Explosion.html" title="class in net.minecraft.world">Explosion</a> p_149659_1_)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#canEntityDestroy(net.minecraft.world.IBlockAccess,%20int,%20int,%20int,%20net.minecraft.entity.Entity)">canEntityDestroy</a></strong>(<a href="../../../net/minecraft/world/IBlockAccess.html" title="interface in net.minecraft.world">IBlockAccess</a> world, + int x, + int y, + int z, + <a href="../../../net/minecraft/entity/Entity.html" title="class in net.minecraft.entity">Entity</a> entity)</code> +<div class="block">Determines if this block is can be destroyed by the specified entities normal behavior.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#canHarvestBlock(net.minecraft.entity.player.EntityPlayer,%20int)">canHarvestBlock</a></strong>(<a href="../../../net/minecraft/entity/player/EntityPlayer.html" title="class in net.minecraft.entity.player">EntityPlayer</a> player, + int meta)</code> +<div class="block">Determines if the player can harvest this block, obtaining it's drops when the block is destroyed.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#canPlaceBlockAt(net.minecraft.world.World,%20int,%20int,%20int)">canPlaceBlockAt</a></strong>(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> p_149742_1_, + int p_149742_2_, + int p_149742_3_, + int p_149742_4_)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#canPlaceBlockOnSide(net.minecraft.world.World,%20int,%20int,%20int,%20int)">canPlaceBlockOnSide</a></strong>(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> p_149707_1_, + int p_149707_2_, + int p_149707_3_, + int p_149707_4_, + int p_149707_5_)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#canPlaceTorchOnTop(net.minecraft.world.World,%20int,%20int,%20int)">canPlaceTorchOnTop</a></strong>(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> world, + int x, + int y, + int z)</code> +<div class="block">Determines if a torch can be placed on the top surface of this block.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#canProvidePower()">canProvidePower</a></strong>()</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#canRenderInPass(int)">canRenderInPass</a></strong>(int pass)</code> +<div class="block">Determines if this block should render in this pass.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#canReplace(net.minecraft.world.World,%20int,%20int,%20int,%20int,%20net.minecraft.item.ItemStack)">canReplace</a></strong>(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> p_149705_1_, + int p_149705_2_, + int p_149705_3_, + int p_149705_4_, + int p_149705_5_, + <a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> p_149705_6_)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>protected boolean</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#canSilkHarvest()">canSilkHarvest</a></strong>()</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#canSilkHarvest(net.minecraft.world.World,%20net.minecraft.entity.player.EntityPlayer,%20int,%20int,%20int,%20int)">canSilkHarvest</a></strong>(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> world, + <a href="../../../net/minecraft/entity/player/EntityPlayer.html" title="class in net.minecraft.entity.player">EntityPlayer</a> player, + int x, + int y, + int z, + int metadata)</code> +<div class="block">Return true from this function if the player with silk touch can harvest this block directly, and not it's normal drops.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#canSustainLeaves(net.minecraft.world.IBlockAccess,%20int,%20int,%20int)">canSustainLeaves</a></strong>(<a href="../../../net/minecraft/world/IBlockAccess.html" title="interface in net.minecraft.world">IBlockAccess</a> world, + int x, + int y, + int z)</code> +<div class="block">Determines if this block can prevent leaves connected to it from decaying.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#canSustainPlant(net.minecraft.world.IBlockAccess,%20int,%20int,%20int,%20net.minecraftforge.common.util.ForgeDirection,%20net.minecraftforge.common.IPlantable)">canSustainPlant</a></strong>(<a href="../../../net/minecraft/world/IBlockAccess.html" title="interface in net.minecraft.world">IBlockAccess</a> world, + int x, + int y, + int z, + <a href="../../../net/minecraftforge/common/util/ForgeDirection.html" title="enum in net.minecraftforge.common.util">ForgeDirection</a> direction, + <a href="../../../net/minecraftforge/common/IPlantable.html" title="interface in net.minecraftforge.common">IPlantable</a> plantable)</code> +<div class="block">Determines if this block can support the passed in plant, allowing it to be planted and grow.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>protected java.util.List<<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a>></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#captureDrops(boolean)">captureDrops</a></strong>(boolean start)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code><a href="../../../net/minecraft/util/MovingObjectPosition.html" title="class in net.minecraft.util">MovingObjectPosition</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#collisionRayTrace(net.minecraft.world.World,%20int,%20int,%20int,%20net.minecraft.util.Vec3,%20net.minecraft.util.Vec3)">collisionRayTrace</a></strong>(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> p_149731_1_, + int p_149731_2_, + int p_149731_3_, + int p_149731_4_, + <a href="../../../net/minecraft/util/Vec3.html" title="class in net.minecraft.util">Vec3</a> p_149731_5_, + <a href="../../../net/minecraft/util/Vec3.html" title="class in net.minecraft.util">Vec3</a> p_149731_6_)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#colorMultiplier(net.minecraft.world.IBlockAccess,%20int,%20int,%20int)">colorMultiplier</a></strong>(<a href="../../../net/minecraft/world/IBlockAccess.html" title="interface in net.minecraft.world">IBlockAccess</a> p_149720_1_, + int p_149720_2_, + int p_149720_3_, + int p_149720_4_)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>protected <a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#createStackedBlock(int)">createStackedBlock</a></strong>(int p_149644_1_)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code><a href="../../../net/minecraft/tileentity/TileEntity.html" title="class in net.minecraft.tileentity">TileEntity</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#createTileEntity(net.minecraft.world.World,%20int)">createTileEntity</a></strong>(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> world, + int metadata)</code> +<div class="block">Called throughout the code as a replacement for ITileEntityProvider.createNewTileEntity + Return the same thing you would from that function.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#damageDropped(int)">damageDropped</a></strong>(int p_149692_1_)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>protected <a href="../../../net/minecraft/block/Block.html" title="class in net.minecraft.block">Block</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#disableStats()">disableStats</a></strong>()</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#dropBlockAsItem(net.minecraft.world.World,%20int,%20int,%20int,%20int,%20int)">dropBlockAsItem</a></strong>(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> p_149697_1_, + int p_149697_2_, + int p_149697_3_, + int p_149697_4_, + int p_149697_5_, + int p_149697_6_)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>protected void</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#dropBlockAsItem(net.minecraft.world.World,%20int,%20int,%20int,%20net.minecraft.item.ItemStack)">dropBlockAsItem</a></strong>(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> p_149642_1_, + int p_149642_2_, + int p_149642_3_, + int p_149642_4_, + <a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> p_149642_5_)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#dropBlockAsItemWithChance(net.minecraft.world.World,%20int,%20int,%20int,%20int,%20float,%20int)">dropBlockAsItemWithChance</a></strong>(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> p_149690_1_, + int p_149690_2_, + int p_149690_3_, + int p_149690_4_, + int p_149690_5_, + float p_149690_6_, + int p_149690_7_)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#dropXpOnBlockBreak(net.minecraft.world.World,%20int,%20int,%20int,%20int)">dropXpOnBlockBreak</a></strong>(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> p_149657_1_, + int p_149657_2_, + int p_149657_3_, + int p_149657_4_, + int p_149657_5_)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#fillWithRain(net.minecraft.world.World,%20int,%20int,%20int)">fillWithRain</a></strong>(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> p_149639_1_, + int p_149639_2_, + int p_149639_3_, + int p_149639_4_)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#func_149698_L()">func_149698_L</a></strong>()</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#func_149730_j()">func_149730_j</a></strong>()</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code><a href="../../../net/minecraft/util/IIcon.html" title="interface in net.minecraft.util">IIcon</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#func_149735_b(int,%20int)">func_149735_b</a></strong>(int p_149735_1_, + int p_149735_2_)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>float</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#getAmbientOcclusionLightValue()">getAmbientOcclusionLightValue</a></strong>()</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#getBedDirection(net.minecraft.world.IBlockAccess,%20int,%20int,%20int)">getBedDirection</a></strong>(<a href="../../../net/minecraft/world/IBlockAccess.html" title="interface in net.minecraft.world">IBlockAccess</a> world, + int x, + int y, + int z)</code> +<div class="block">Returns the direction of the block.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code><a href="../../../net/minecraft/util/ChunkCoordinates.html" title="class in net.minecraft.util">ChunkCoordinates</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#getBedSpawnPosition(net.minecraft.world.IBlockAccess,%20int,%20int,%20int,%20net.minecraft.entity.player.EntityPlayer)">getBedSpawnPosition</a></strong>(<a href="../../../net/minecraft/world/IBlockAccess.html" title="interface in net.minecraft.world">IBlockAccess</a> world, + int x, + int y, + int z, + <a href="../../../net/minecraft/entity/player/EntityPlayer.html" title="class in net.minecraft.entity.player">EntityPlayer</a> player)</code> +<div class="block">Returns the position that the player is moved to upon + waking up, or respawning at the bed.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>double</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#getBlockBoundsMaxX()">getBlockBoundsMaxX</a></strong>()</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>double</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#getBlockBoundsMaxY()">getBlockBoundsMaxY</a></strong>()</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>double</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#getBlockBoundsMaxZ()">getBlockBoundsMaxZ</a></strong>()</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>double</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#getBlockBoundsMinX()">getBlockBoundsMinX</a></strong>()</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>double</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#getBlockBoundsMinY()">getBlockBoundsMinY</a></strong>()</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>double</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#getBlockBoundsMinZ()">getBlockBoundsMinZ</a></strong>()</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static <a href="../../../net/minecraft/block/Block.html" title="class in net.minecraft.block">Block</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#getBlockById(int)">getBlockById</a></strong>(int p_149729_0_)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#getBlockColor()">getBlockColor</a></strong>()</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static <a href="../../../net/minecraft/block/Block.html" title="class in net.minecraft.block">Block</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#getBlockFromItem(net.minecraft.item.Item)">getBlockFromItem</a></strong>(<a href="../../../net/minecraft/item/Item.html" title="class in net.minecraft.item">Item</a> p_149634_0_)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static <a href="../../../net/minecraft/block/Block.html" title="class in net.minecraft.block">Block</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#getBlockFromName(java.lang.String)">getBlockFromName</a></strong>(java.lang.String p_149684_0_)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>float</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#getBlockHardness(net.minecraft.world.World,%20int,%20int,%20int)">getBlockHardness</a></strong>(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> p_149712_1_, + int p_149712_2_, + int p_149712_3_, + int p_149712_4_)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#getBlocksMovement(net.minecraft.world.IBlockAccess,%20int,%20int,%20int)">getBlocksMovement</a></strong>(<a href="../../../net/minecraft/world/IBlockAccess.html" title="interface in net.minecraft.world">IBlockAccess</a> p_149655_1_, + int p_149655_2_, + int p_149655_3_, + int p_149655_4_)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code><a href="../../../net/minecraft/util/IIcon.html" title="interface in net.minecraft.util">IIcon</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#getBlockTextureFromSide(int)">getBlockTextureFromSide</a></strong>(int p_149733_1_)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#getCanBlockGrass()">getCanBlockGrass</a></strong>()</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code><a href="../../../net/minecraft/util/AxisAlignedBB.html" title="class in net.minecraft.util">AxisAlignedBB</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#getCollisionBoundingBoxFromPool(net.minecraft.world.World,%20int,%20int,%20int)">getCollisionBoundingBoxFromPool</a></strong>(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> p_149668_1_, + int p_149668_2_, + int p_149668_3_, + int p_149668_4_)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#getComparatorInputOverride(net.minecraft.world.World,%20int,%20int,%20int,%20int)">getComparatorInputOverride</a></strong>(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> p_149736_1_, + int p_149736_2_, + int p_149736_3_, + int p_149736_4_, + int p_149736_5_)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code><a href="../../../net/minecraft/creativetab/CreativeTabs.html" title="class in net.minecraft.creativetab">CreativeTabs</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#getCreativeTabToDisplayOn()">getCreativeTabToDisplayOn</a></strong>()</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#getDamageValue(net.minecraft.world.World,%20int,%20int,%20int)">getDamageValue</a></strong>(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> p_149643_1_, + int p_149643_2_, + int p_149643_3_, + int p_149643_4_)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>java.util.ArrayList<<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a>></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#getDrops(net.minecraft.world.World,%20int,%20int,%20int,%20int,%20int)">getDrops</a></strong>(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> world, + int x, + int y, + int z, + int metadata, + int fortune)</code> +<div class="block">This returns a complete list of items dropped from this block.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#getEnableStats()">getEnableStats</a></strong>()</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>float</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#getEnchantPowerBonus(net.minecraft.world.World,%20int,%20int,%20int)">getEnchantPowerBonus</a></strong>(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> world, + int x, + int y, + int z)</code> +<div class="block">Determines the amount of enchanting power this block can provide to an enchanting table.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#getExpDrop(net.minecraft.world.IBlockAccess,%20int,%20int)">getExpDrop</a></strong>(<a href="../../../net/minecraft/world/IBlockAccess.html" title="interface in net.minecraft.world">IBlockAccess</a> world, + int metadata, + int fortune)</code> +<div class="block">Gathers how much experience this block drops when broken.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>float</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#getExplosionResistance(net.minecraft.entity.Entity)">getExplosionResistance</a></strong>(<a href="../../../net/minecraft/entity/Entity.html" title="class in net.minecraft.entity">Entity</a> p_149638_1_)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>float</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#getExplosionResistance(net.minecraft.entity.Entity,%20net.minecraft.world.World,%20int,%20int,%20int,%20double,%20double,%20double)">getExplosionResistance</a></strong>(<a href="../../../net/minecraft/entity/Entity.html" title="class in net.minecraft.entity">Entity</a> par1Entity, + <a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> world, + int x, + int y, + int z, + double explosionX, + double explosionY, + double explosionZ)</code> +<div class="block">Location sensitive version of getExplosionRestance</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#getFireSpreadSpeed(net.minecraft.world.IBlockAccess,%20int,%20int,%20int,%20net.minecraftforge.common.util.ForgeDirection)">getFireSpreadSpeed</a></strong>(<a href="../../../net/minecraft/world/IBlockAccess.html" title="interface in net.minecraft.world">IBlockAccess</a> world, + int x, + int y, + int z, + <a href="../../../net/minecraftforge/common/util/ForgeDirection.html" title="enum in net.minecraftforge.common.util">ForgeDirection</a> face)</code> +<div class="block">Called when fire is updating on a neighbor block.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#getFlammability(net.minecraft.world.IBlockAccess,%20int,%20int,%20int,%20net.minecraftforge.common.util.ForgeDirection)">getFlammability</a></strong>(<a href="../../../net/minecraft/world/IBlockAccess.html" title="interface in net.minecraft.world">IBlockAccess</a> world, + int x, + int y, + int z, + <a href="../../../net/minecraftforge/common/util/ForgeDirection.html" title="enum in net.minecraftforge.common.util">ForgeDirection</a> face)</code> +<div class="block">Chance that fire will spread and consume this block.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#getHarvestLevel(int)">getHarvestLevel</a></strong>(int metadata)</code> +<div class="block">Queries the harvest level of this item stack for the specifred tool class, + Returns -1 if this tool is not of the specified type</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>java.lang.String</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#getHarvestTool(int)">getHarvestTool</a></strong>(int metadata)</code> +<div class="block">Queries the class of tool required to harvest this block, if null is returned + we assume that anything can harvest this block.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code><a href="../../../net/minecraft/util/IIcon.html" title="interface in net.minecraft.util">IIcon</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#getIcon(net.minecraft.world.IBlockAccess,%20int,%20int,%20int,%20int)">getIcon</a></strong>(<a href="../../../net/minecraft/world/IBlockAccess.html" title="interface in net.minecraft.world">IBlockAccess</a> p_149673_1_, + int p_149673_2_, + int p_149673_3_, + int p_149673_4_, + int p_149673_5_)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code><a href="../../../net/minecraft/util/IIcon.html" title="interface in net.minecraft.util">IIcon</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#getIcon(int,%20int)">getIcon</a></strong>(int p_149691_1_, + int p_149691_2_)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static int</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#getIdFromBlock(net.minecraft.block.Block)">getIdFromBlock</a></strong>(<a href="../../../net/minecraft/block/Block.html" title="class in net.minecraft.block">Block</a> p_149682_0_)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code><a href="../../../net/minecraft/item/Item.html" title="class in net.minecraft.item">Item</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#getItem(net.minecraft.world.World,%20int,%20int,%20int)">getItem</a></strong>(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> p_149694_1_, + int p_149694_2_, + int p_149694_3_, + int p_149694_4_)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code><a href="../../../net/minecraft/item/Item.html" title="class in net.minecraft.item">Item</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#getItemDropped(int,%20java.util.Random,%20int)">getItemDropped</a></strong>(int p_149650_1_, + java.util.Random p_149650_2_, + int p_149650_3_)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>java.lang.String</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#getItemIconName()">getItemIconName</a></strong>()</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#getLightOpacity()">getLightOpacity</a></strong>()</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#getLightOpacity(net.minecraft.world.IBlockAccess,%20int,%20int,%20int)">getLightOpacity</a></strong>(<a href="../../../net/minecraft/world/IBlockAccess.html" title="interface in net.minecraft.world">IBlockAccess</a> world, + int x, + int y, + int z)</code> +<div class="block">Location aware and overrideable version of the lightOpacity array, + return the number to subtract from the light value when it passes through this block.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#getLightValue()">getLightValue</a></strong>()</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#getLightValue(net.minecraft.world.IBlockAccess,%20int,%20int,%20int)">getLightValue</a></strong>(<a href="../../../net/minecraft/world/IBlockAccess.html" title="interface in net.minecraft.world">IBlockAccess</a> world, + int x, + int y, + int z)</code> +<div class="block">Get a light value for the block at the specified coordinates, normal ranges are between 0 and 15</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>java.lang.String</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#getLocalizedName()">getLocalizedName</a></strong>()</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code><a href="../../../net/minecraft/block/material/MapColor.html" title="class in net.minecraft.block.material">MapColor</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#getMapColor(int)">getMapColor</a></strong>(int p_149728_1_)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code><a href="../../../net/minecraft/block/material/Material.html" title="class in net.minecraft.block.material">Material</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#getMaterial()">getMaterial</a></strong>()</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#getMixedBrightnessForBlock(net.minecraft.world.IBlockAccess,%20int,%20int,%20int)">getMixedBrightnessForBlock</a></strong>(<a href="../../../net/minecraft/world/IBlockAccess.html" title="interface in net.minecraft.world">IBlockAccess</a> p_149677_1_, + int p_149677_2_, + int p_149677_3_, + int p_149677_4_)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#getMobilityFlag()">getMobilityFlag</a></strong>()</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code><a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#getPickBlock(net.minecraft.util.MovingObjectPosition,%20net.minecraft.world.World,%20int,%20int,%20int)">getPickBlock</a></strong>(<a href="../../../net/minecraft/util/MovingObjectPosition.html" title="class in net.minecraft.util">MovingObjectPosition</a> target, + <a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> world, + int x, + int y, + int z)</code> +<div class="block"><strong>Deprecated.</strong> </div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code><a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#getPickBlock(net.minecraft.util.MovingObjectPosition,%20net.minecraft.world.World,%20int,%20int,%20int,%20net.minecraft.entity.player.EntityPlayer)">getPickBlock</a></strong>(<a href="../../../net/minecraft/util/MovingObjectPosition.html" title="class in net.minecraft.util">MovingObjectPosition</a> target, + <a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> world, + int x, + int y, + int z, + <a href="../../../net/minecraft/entity/player/EntityPlayer.html" title="class in net.minecraft.entity.player">EntityPlayer</a> player)</code> +<div class="block">Called when a user uses the creative pick block button on this block</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>float</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#getPlayerRelativeBlockHardness(net.minecraft.entity.player.EntityPlayer,%20net.minecraft.world.World,%20int,%20int,%20int)">getPlayerRelativeBlockHardness</a></strong>(<a href="../../../net/minecraft/entity/player/EntityPlayer.html" title="class in net.minecraft.entity.player">EntityPlayer</a> p_149737_1_, + <a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> p_149737_2_, + int p_149737_3_, + int p_149737_4_, + int p_149737_5_)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#getRenderBlockPass()">getRenderBlockPass</a></strong>()</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#getRenderColor(int)">getRenderColor</a></strong>(int p_149741_1_)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#getRenderType()">getRenderType</a></strong>()</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code><a href="../../../net/minecraft/util/AxisAlignedBB.html" title="class in net.minecraft.util">AxisAlignedBB</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#getSelectedBoundingBoxFromPool(net.minecraft.world.World,%20int,%20int,%20int)">getSelectedBoundingBoxFromPool</a></strong>(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> p_149633_1_, + int p_149633_2_, + int p_149633_3_, + int p_149633_4_)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#getSubBlocks(net.minecraft.item.Item,%20net.minecraft.creativetab.CreativeTabs,%20java.util.List)">getSubBlocks</a></strong>(<a href="../../../net/minecraft/item/Item.html" title="class in net.minecraft.item">Item</a> p_149666_1_, + <a href="../../../net/minecraft/creativetab/CreativeTabs.html" title="class in net.minecraft.creativetab">CreativeTabs</a> p_149666_2_, + java.util.List p_149666_3_)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>protected java.lang.String</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#getTextureName()">getTextureName</a></strong>()</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#getTickRandomly()">getTickRandomly</a></strong>()</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>java.lang.String</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#getUnlocalizedName()">getUnlocalizedName</a></strong>()</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#getUseNeighborBrightness()">getUseNeighborBrightness</a></strong>()</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code><a href="../../../net/minecraftforge/common/util/ForgeDirection.html" title="enum in net.minecraftforge.common.util">ForgeDirection</a>[]</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#getValidRotations(net.minecraft.world.World,%20int,%20int,%20int)">getValidRotations</a></strong>(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> worldObj, + int x, + int y, + int z)</code> +<div class="block">Get the rotations that can apply to the block at the specified coordinates.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#getWeakChanges(net.minecraft.world.IBlockAccess,%20int,%20int,%20int)">getWeakChanges</a></strong>(<a href="../../../net/minecraft/world/IBlockAccess.html" title="interface in net.minecraft.world">IBlockAccess</a> world, + int x, + int y, + int z)</code> +<div class="block">If this block should be notified of weak changes.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#harvestBlock(net.minecraft.world.World,%20net.minecraft.entity.player.EntityPlayer,%20int,%20int,%20int,%20int)">harvestBlock</a></strong>(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> p_149636_1_, + <a href="../../../net/minecraft/entity/player/EntityPlayer.html" title="class in net.minecraft.entity.player">EntityPlayer</a> p_149636_2_, + int p_149636_3_, + int p_149636_4_, + int p_149636_5_, + int p_149636_6_)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#hasComparatorInputOverride()">hasComparatorInputOverride</a></strong>()</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#hasTileEntity()">hasTileEntity</a></strong>()</code> +<div class="block"><strong>Deprecated.</strong> </div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#hasTileEntity(int)">hasTileEntity</a></strong>(int metadata)</code> +<div class="block">Called throughout the code as a replacement for block instanceof BlockContainer + Moving this to the Block base class allows for mods that wish to extend vanilla + blocks, and also want to have a tile entity on that block, may.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#isAir(net.minecraft.world.IBlockAccess,%20int,%20int,%20int)">isAir</a></strong>(<a href="../../../net/minecraft/world/IBlockAccess.html" title="interface in net.minecraft.world">IBlockAccess</a> world, + int x, + int y, + int z)</code> +<div class="block">Determines this block should be treated as an air block + by the rest of the code.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#isAssociatedBlock(net.minecraft.block.Block)">isAssociatedBlock</a></strong>(<a href="../../../net/minecraft/block/Block.html" title="class in net.minecraft.block">Block</a> p_149667_1_)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#isBeaconBase(net.minecraft.world.IBlockAccess,%20int,%20int,%20int,%20int,%20int,%20int)">isBeaconBase</a></strong>(<a href="../../../net/minecraft/world/IBlockAccess.html" title="interface in net.minecraft.world">IBlockAccess</a> worldObj, + int x, + int y, + int z, + int beaconX, + int beaconY, + int beaconZ)</code> +<div class="block">Determines if this block can be used as the base of a beacon.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#isBed(net.minecraft.world.IBlockAccess,%20int,%20int,%20int,%20net.minecraft.entity.EntityLivingBase)">isBed</a></strong>(<a href="../../../net/minecraft/world/IBlockAccess.html" title="interface in net.minecraft.world">IBlockAccess</a> world, + int x, + int y, + int z, + <a href="../../../net/minecraft/entity/EntityLivingBase.html" title="class in net.minecraft.entity">EntityLivingBase</a> player)</code> +<div class="block">Determines if this block is classified as a Bed, Allowing + players to sleep in it, though the block has to specifically + perform the sleeping functionality in it's activated event.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#isBedFoot(net.minecraft.world.IBlockAccess,%20int,%20int,%20int)">isBedFoot</a></strong>(<a href="../../../net/minecraft/world/IBlockAccess.html" title="interface in net.minecraft.world">IBlockAccess</a> world, + int x, + int y, + int z)</code> +<div class="block">Determines if the current block is the foot half of the bed.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#isBlockNormalCube()">isBlockNormalCube</a></strong>()</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#isBlockSolid(net.minecraft.world.IBlockAccess,%20int,%20int,%20int,%20int)">isBlockSolid</a></strong>(<a href="../../../net/minecraft/world/IBlockAccess.html" title="interface in net.minecraft.world">IBlockAccess</a> p_149747_1_, + int p_149747_2_, + int p_149747_3_, + int p_149747_4_, + int p_149747_5_)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#isBurning(net.minecraft.world.IBlockAccess,%20int,%20int,%20int)">isBurning</a></strong>(<a href="../../../net/minecraft/world/IBlockAccess.html" title="interface in net.minecraft.world">IBlockAccess</a> world, + int x, + int y, + int z)</code> +<div class="block">Determines if this block should set fire and deal fire damage + to entities coming into contact with it.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#isCollidable()">isCollidable</a></strong>()</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static boolean</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#isEqualTo(net.minecraft.block.Block,%20net.minecraft.block.Block)">isEqualTo</a></strong>(<a href="../../../net/minecraft/block/Block.html" title="class in net.minecraft.block">Block</a> p_149680_0_, + <a href="../../../net/minecraft/block/Block.html" title="class in net.minecraft.block">Block</a> p_149680_1_)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#isFertile(net.minecraft.world.World,%20int,%20int,%20int)">isFertile</a></strong>(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> world, + int x, + int y, + int z)</code> +<div class="block">Checks if this soil is fertile, typically this means that growth rates + of plants on this soil will be slightly sped up.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#isFireSource(net.minecraft.world.World,%20int,%20int,%20int,%20net.minecraftforge.common.util.ForgeDirection)">isFireSource</a></strong>(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> world, + int x, + int y, + int z, + <a href="../../../net/minecraftforge/common/util/ForgeDirection.html" title="enum in net.minecraftforge.common.util">ForgeDirection</a> side)</code> +<div class="block">Currently only called by fire when it is on top of this block.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#isFlammable(net.minecraft.world.IBlockAccess,%20int,%20int,%20int,%20net.minecraftforge.common.util.ForgeDirection)">isFlammable</a></strong>(<a href="../../../net/minecraft/world/IBlockAccess.html" title="interface in net.minecraft.world">IBlockAccess</a> world, + int x, + int y, + int z, + <a href="../../../net/minecraftforge/common/util/ForgeDirection.html" title="enum in net.minecraftforge.common.util">ForgeDirection</a> face)</code> +<div class="block">Called when fire is updating, checks if a block face can catch fire.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#isFlowerPot()">isFlowerPot</a></strong>()</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#isFoliage(net.minecraft.world.IBlockAccess,%20int,%20int,%20int)">isFoliage</a></strong>(<a href="../../../net/minecraft/world/IBlockAccess.html" title="interface in net.minecraft.world">IBlockAccess</a> world, + int x, + int y, + int z)</code> +<div class="block">Used by getTopSolidOrLiquidBlock while placing biome decorations, villages, etc + Also used to determine if the player can spawn on this block.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#isLadder(net.minecraft.world.IBlockAccess,%20int,%20int,%20int,%20net.minecraft.entity.EntityLivingBase)">isLadder</a></strong>(<a href="../../../net/minecraft/world/IBlockAccess.html" title="interface in net.minecraft.world">IBlockAccess</a> world, + int x, + int y, + int z, + <a href="../../../net/minecraft/entity/EntityLivingBase.html" title="class in net.minecraft.entity">EntityLivingBase</a> entity)</code> +<div class="block">Checks if a player or entity can use this block to 'climb' like a ladder.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#isLeaves(net.minecraft.world.IBlockAccess,%20int,%20int,%20int)">isLeaves</a></strong>(<a href="../../../net/minecraft/world/IBlockAccess.html" title="interface in net.minecraft.world">IBlockAccess</a> world, + int x, + int y, + int z)</code> +<div class="block">Determines if this block is considered a leaf block, used to apply the leaf decay and generation system.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#isNormalCube()">isNormalCube</a></strong>()</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#isNormalCube(net.minecraft.world.IBlockAccess,%20int,%20int,%20int)">isNormalCube</a></strong>(<a href="../../../net/minecraft/world/IBlockAccess.html" title="interface in net.minecraft.world">IBlockAccess</a> world, + int x, + int y, + int z)</code> +<div class="block">Return true if the block is a normal, solid cube.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#isOpaqueCube()">isOpaqueCube</a></strong>()</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#isProvidingStrongPower(net.minecraft.world.IBlockAccess,%20int,%20int,%20int,%20int)">isProvidingStrongPower</a></strong>(<a href="../../../net/minecraft/world/IBlockAccess.html" title="interface in net.minecraft.world">IBlockAccess</a> p_149748_1_, + int p_149748_2_, + int p_149748_3_, + int p_149748_4_, + int p_149748_5_)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#isProvidingWeakPower(net.minecraft.world.IBlockAccess,%20int,%20int,%20int,%20int)">isProvidingWeakPower</a></strong>(<a href="../../../net/minecraft/world/IBlockAccess.html" title="interface in net.minecraft.world">IBlockAccess</a> p_149709_1_, + int p_149709_2_, + int p_149709_3_, + int p_149709_4_, + int p_149709_5_)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#isReplaceable(net.minecraft.world.IBlockAccess,%20int,%20int,%20int)">isReplaceable</a></strong>(<a href="../../../net/minecraft/world/IBlockAccess.html" title="interface in net.minecraft.world">IBlockAccess</a> world, + int x, + int y, + int z)</code> +<div class="block">Determines if a new block can be replace the space occupied by this one, + Used in the player's placement code to make the block act like water, and lava.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#isReplaceableOreGen(net.minecraft.world.World,%20int,%20int,%20int,%20net.minecraft.block.Block)">isReplaceableOreGen</a></strong>(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> world, + int x, + int y, + int z, + <a href="../../../net/minecraft/block/Block.html" title="class in net.minecraft.block">Block</a> target)</code> +<div class="block">Determines if the current block is replaceable by Ore veins during world generation.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#isSideSolid(net.minecraft.world.IBlockAccess,%20int,%20int,%20int,%20net.minecraftforge.common.util.ForgeDirection)">isSideSolid</a></strong>(<a href="../../../net/minecraft/world/IBlockAccess.html" title="interface in net.minecraft.world">IBlockAccess</a> world, + int x, + int y, + int z, + <a href="../../../net/minecraftforge/common/util/ForgeDirection.html" title="enum in net.minecraftforge.common.util">ForgeDirection</a> side)</code> +<div class="block">Checks if the block is a solid face on the given side, used by placement logic.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#isToolEffective(java.lang.String,%20int)">isToolEffective</a></strong>(java.lang.String type, + int metadata)</code> +<div class="block">Checks if the specified tool type is efficient on this block, + meaning that it digs at full speed.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#isWood(net.minecraft.world.IBlockAccess,%20int,%20int,%20int)">isWood</a></strong>(<a href="../../../net/minecraft/world/IBlockAccess.html" title="interface in net.minecraft.world">IBlockAccess</a> world, + int x, + int y, + int z)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#onBlockActivated(net.minecraft.world.World,%20int,%20int,%20int,%20net.minecraft.entity.player.EntityPlayer,%20int,%20float,%20float,%20float)">onBlockActivated</a></strong>(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> p_149727_1_, + int p_149727_2_, + int p_149727_3_, + int p_149727_4_, + <a href="../../../net/minecraft/entity/player/EntityPlayer.html" title="class in net.minecraft.entity.player">EntityPlayer</a> p_149727_5_, + int p_149727_6_, + float p_149727_7_, + float p_149727_8_, + float p_149727_9_)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#onBlockAdded(net.minecraft.world.World,%20int,%20int,%20int)">onBlockAdded</a></strong>(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> p_149726_1_, + int p_149726_2_, + int p_149726_3_, + int p_149726_4_)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#onBlockClicked(net.minecraft.world.World,%20int,%20int,%20int,%20net.minecraft.entity.player.EntityPlayer)">onBlockClicked</a></strong>(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> p_149699_1_, + int p_149699_2_, + int p_149699_3_, + int p_149699_4_, + <a href="../../../net/minecraft/entity/player/EntityPlayer.html" title="class in net.minecraft.entity.player">EntityPlayer</a> p_149699_5_)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#onBlockDestroyedByExplosion(net.minecraft.world.World,%20int,%20int,%20int,%20net.minecraft.world.Explosion)">onBlockDestroyedByExplosion</a></strong>(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> p_149723_1_, + int p_149723_2_, + int p_149723_3_, + int p_149723_4_, + <a href="../../../net/minecraft/world/Explosion.html" title="class in net.minecraft.world">Explosion</a> p_149723_5_)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#onBlockDestroyedByPlayer(net.minecraft.world.World,%20int,%20int,%20int,%20int)">onBlockDestroyedByPlayer</a></strong>(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> p_149664_1_, + int p_149664_2_, + int p_149664_3_, + int p_149664_4_, + int p_149664_5_)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#onBlockEventReceived(net.minecraft.world.World,%20int,%20int,%20int,%20int,%20int)">onBlockEventReceived</a></strong>(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> p_149696_1_, + int p_149696_2_, + int p_149696_3_, + int p_149696_4_, + int p_149696_5_, + int p_149696_6_)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#onBlockExploded(net.minecraft.world.World,%20int,%20int,%20int,%20net.minecraft.world.Explosion)">onBlockExploded</a></strong>(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> world, + int x, + int y, + int z, + <a href="../../../net/minecraft/world/Explosion.html" title="class in net.minecraft.world">Explosion</a> explosion)</code> +<div class="block">Called when the block is destroyed by an explosion.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#onBlockHarvested(net.minecraft.world.World,%20int,%20int,%20int,%20int,%20net.minecraft.entity.player.EntityPlayer)">onBlockHarvested</a></strong>(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> p_149681_1_, + int p_149681_2_, + int p_149681_3_, + int p_149681_4_, + int p_149681_5_, + <a href="../../../net/minecraft/entity/player/EntityPlayer.html" title="class in net.minecraft.entity.player">EntityPlayer</a> p_149681_6_)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#onBlockPlaced(net.minecraft.world.World,%20int,%20int,%20int,%20int,%20float,%20float,%20float,%20int)">onBlockPlaced</a></strong>(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> p_149660_1_, + int p_149660_2_, + int p_149660_3_, + int p_149660_4_, + int p_149660_5_, + float p_149660_6_, + float p_149660_7_, + float p_149660_8_, + int p_149660_9_)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#onBlockPlacedBy(net.minecraft.world.World,%20int,%20int,%20int,%20net.minecraft.entity.EntityLivingBase,%20net.minecraft.item.ItemStack)">onBlockPlacedBy</a></strong>(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> p_149689_1_, + int p_149689_2_, + int p_149689_3_, + int p_149689_4_, + <a href="../../../net/minecraft/entity/EntityLivingBase.html" title="class in net.minecraft.entity">EntityLivingBase</a> p_149689_5_, + <a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> p_149689_6_)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#onBlockPreDestroy(net.minecraft.world.World,%20int,%20int,%20int,%20int)">onBlockPreDestroy</a></strong>(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> p_149725_1_, + int p_149725_2_, + int p_149725_3_, + int p_149725_4_, + int p_149725_5_)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#onEntityCollidedWithBlock(net.minecraft.world.World,%20int,%20int,%20int,%20net.minecraft.entity.Entity)">onEntityCollidedWithBlock</a></strong>(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> p_149670_1_, + int p_149670_2_, + int p_149670_3_, + int p_149670_4_, + <a href="../../../net/minecraft/entity/Entity.html" title="class in net.minecraft.entity">Entity</a> p_149670_5_)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#onEntityWalking(net.minecraft.world.World,%20int,%20int,%20int,%20net.minecraft.entity.Entity)">onEntityWalking</a></strong>(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> p_149724_1_, + int p_149724_2_, + int p_149724_3_, + int p_149724_4_, + <a href="../../../net/minecraft/entity/Entity.html" title="class in net.minecraft.entity">Entity</a> p_149724_5_)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#onFallenUpon(net.minecraft.world.World,%20int,%20int,%20int,%20net.minecraft.entity.Entity,%20float)">onFallenUpon</a></strong>(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> p_149746_1_, + int p_149746_2_, + int p_149746_3_, + int p_149746_4_, + <a href="../../../net/minecraft/entity/Entity.html" title="class in net.minecraft.entity">Entity</a> p_149746_5_, + float p_149746_6_)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#onNeighborBlockChange(net.minecraft.world.World,%20int,%20int,%20int,%20net.minecraft.block.Block)">onNeighborBlockChange</a></strong>(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> p_149695_1_, + int p_149695_2_, + int p_149695_3_, + int p_149695_4_, + <a href="../../../net/minecraft/block/Block.html" title="class in net.minecraft.block">Block</a> p_149695_5_)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#onNeighborChange(net.minecraft.world.IBlockAccess,%20int,%20int,%20int,%20int,%20int,%20int)">onNeighborChange</a></strong>(<a href="../../../net/minecraft/world/IBlockAccess.html" title="interface in net.minecraft.world">IBlockAccess</a> world, + int x, + int y, + int z, + int tileX, + int tileY, + int tileZ)</code> +<div class="block">Called when a tile entity on a side of this block changes is created or is destroyed.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#onPlantGrow(net.minecraft.world.World,%20int,%20int,%20int,%20int,%20int,%20int)">onPlantGrow</a></strong>(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> world, + int x, + int y, + int z, + int sourceX, + int sourceY, + int sourceZ)</code> +<div class="block">Called when a plant grows on this block, only implemented for saplings using the WorldGen*Trees classes right now.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#onPostBlockPlaced(net.minecraft.world.World,%20int,%20int,%20int,%20int)">onPostBlockPlaced</a></strong>(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> p_149714_1_, + int p_149714_2_, + int p_149714_3_, + int p_149714_4_, + int p_149714_5_)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#quantityDropped(int,%20int,%20java.util.Random)">quantityDropped</a></strong>(int meta, + int fortune, + java.util.Random random)</code> +<div class="block">Metadata and fortune sensitive version, this replaces the old (int meta, Random rand) + version in 1.1.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#quantityDropped(java.util.Random)">quantityDropped</a></strong>(java.util.Random p_149745_1_)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#quantityDroppedWithBonus(int,%20java.util.Random)">quantityDroppedWithBonus</a></strong>(int p_149679_1_, + java.util.Random p_149679_2_)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#randomDisplayTick(net.minecraft.world.World,%20int,%20int,%20int,%20java.util.Random)">randomDisplayTick</a></strong>(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> p_149734_1_, + int p_149734_2_, + int p_149734_3_, + int p_149734_4_, + java.util.Random p_149734_5_)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#recolourBlock(net.minecraft.world.World,%20int,%20int,%20int,%20net.minecraftforge.common.util.ForgeDirection,%20int)">recolourBlock</a></strong>(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> world, + int x, + int y, + int z, + <a href="../../../net/minecraftforge/common/util/ForgeDirection.html" title="enum in net.minecraftforge.common.util">ForgeDirection</a> side, + int colour)</code> +<div class="block">Common way to recolour a block with an external tool</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#registerBlockIcons(net.minecraft.client.renderer.texture.IIconRegister)">registerBlockIcons</a></strong>(<a href="../../../net/minecraft/client/renderer/texture/IIconRegister.html" title="interface in net.minecraft.client.renderer.texture">IIconRegister</a> p_149651_1_)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static void</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#registerBlocks()">registerBlocks</a></strong>()</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#removedByPlayer(net.minecraft.world.World,%20net.minecraft.entity.player.EntityPlayer,%20int,%20int,%20int)">removedByPlayer</a></strong>(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> world, + <a href="../../../net/minecraft/entity/player/EntityPlayer.html" title="class in net.minecraft.entity.player">EntityPlayer</a> player, + int x, + int y, + int z)</code> +<div class="block"><strong>Deprecated.</strong> </div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#removedByPlayer(net.minecraft.world.World,%20net.minecraft.entity.player.EntityPlayer,%20int,%20int,%20int,%20boolean)">removedByPlayer</a></strong>(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> world, + <a href="../../../net/minecraft/entity/player/EntityPlayer.html" title="class in net.minecraft.entity.player">EntityPlayer</a> player, + int x, + int y, + int z, + boolean willHarvest)</code> +<div class="block">Called when a player removes a block.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#renderAsNormalBlock()">renderAsNormalBlock</a></strong>()</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#rotateBlock(net.minecraft.world.World,%20int,%20int,%20int,%20net.minecraftforge.common.util.ForgeDirection)">rotateBlock</a></strong>(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> worldObj, + int x, + int y, + int z, + <a href="../../../net/minecraftforge/common/util/ForgeDirection.html" title="enum in net.minecraftforge.common.util">ForgeDirection</a> axis)</code> +<div class="block">Rotate the block.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#setBedOccupied(net.minecraft.world.IBlockAccess,%20int,%20int,%20int,%20net.minecraft.entity.player.EntityPlayer,%20boolean)">setBedOccupied</a></strong>(<a href="../../../net/minecraft/world/IBlockAccess.html" title="interface in net.minecraft.world">IBlockAccess</a> world, + int x, + int y, + int z, + <a href="../../../net/minecraft/entity/player/EntityPlayer.html" title="class in net.minecraft.entity.player">EntityPlayer</a> player, + boolean occupied)</code> +<div class="block">Called when a user either starts or stops sleeping in the bed.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#setBlockBounds(float,%20float,%20float,%20float,%20float,%20float)">setBlockBounds</a></strong>(float p_149676_1_, + float p_149676_2_, + float p_149676_3_, + float p_149676_4_, + float p_149676_5_, + float p_149676_6_)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#setBlockBoundsBasedOnState(net.minecraft.world.IBlockAccess,%20int,%20int,%20int)">setBlockBoundsBasedOnState</a></strong>(<a href="../../../net/minecraft/world/IBlockAccess.html" title="interface in net.minecraft.world">IBlockAccess</a> p_149719_1_, + int p_149719_2_, + int p_149719_3_, + int p_149719_4_)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#setBlockBoundsForItemRender()">setBlockBoundsForItemRender</a></strong>()</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code><a href="../../../net/minecraft/block/Block.html" title="class in net.minecraft.block">Block</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#setBlockName(java.lang.String)">setBlockName</a></strong>(java.lang.String p_149663_1_)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code><a href="../../../net/minecraft/block/Block.html" title="class in net.minecraft.block">Block</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#setBlockTextureName(java.lang.String)">setBlockTextureName</a></strong>(java.lang.String p_149658_1_)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code><a href="../../../net/minecraft/block/Block.html" title="class in net.minecraft.block">Block</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#setBlockUnbreakable()">setBlockUnbreakable</a></strong>()</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code><a href="../../../net/minecraft/block/Block.html" title="class in net.minecraft.block">Block</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#setCreativeTab(net.minecraft.creativetab.CreativeTabs)">setCreativeTab</a></strong>(<a href="../../../net/minecraft/creativetab/CreativeTabs.html" title="class in net.minecraft.creativetab">CreativeTabs</a> p_149647_1_)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code><a href="../../../net/minecraft/block/Block.html" title="class in net.minecraft.block">Block</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#setHardness(float)">setHardness</a></strong>(float p_149711_1_)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#setHarvestLevel(java.lang.String,%20int)">setHarvestLevel</a></strong>(java.lang.String toolClass, + int level)</code> +<div class="block">Sets or removes the tool and level required to harvest this block.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#setHarvestLevel(java.lang.String,%20int,%20int)">setHarvestLevel</a></strong>(java.lang.String toolClass, + int level, + int metadata)</code> +<div class="block">Sets or removes the tool and level required to harvest this block.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code><a href="../../../net/minecraft/block/Block.html" title="class in net.minecraft.block">Block</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#setLightLevel(float)">setLightLevel</a></strong>(float p_149715_1_)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code><a href="../../../net/minecraft/block/Block.html" title="class in net.minecraft.block">Block</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#setLightOpacity(int)">setLightOpacity</a></strong>(int p_149713_1_)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code><a href="../../../net/minecraft/block/Block.html" title="class in net.minecraft.block">Block</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#setResistance(float)">setResistance</a></strong>(float p_149752_1_)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code><a href="../../../net/minecraft/block/Block.html" title="class in net.minecraft.block">Block</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#setStepSound(net.minecraft.block.Block.SoundType)">setStepSound</a></strong>(<a href="../../../net/minecraft/block/Block.SoundType.html" title="class in net.minecraft.block">Block.SoundType</a> p_149672_1_)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code><a href="../../../net/minecraft/block/Block.html" title="class in net.minecraft.block">Block</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#setTickRandomly(boolean)">setTickRandomly</a></strong>(boolean p_149675_1_)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#shouldCheckWeakPower(net.minecraft.world.IBlockAccess,%20int,%20int,%20int,%20int)">shouldCheckWeakPower</a></strong>(<a href="../../../net/minecraft/world/IBlockAccess.html" title="interface in net.minecraft.world">IBlockAccess</a> world, + int x, + int y, + int z, + int side)</code> +<div class="block">Called to determine whether to allow the a block to handle its own indirect power rather than using the default rules.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#shouldSideBeRendered(net.minecraft.world.IBlockAccess,%20int,%20int,%20int,%20int)">shouldSideBeRendered</a></strong>(<a href="../../../net/minecraft/world/IBlockAccess.html" title="interface in net.minecraft.world">IBlockAccess</a> p_149646_1_, + int p_149646_2_, + int p_149646_3_, + int p_149646_4_, + int p_149646_5_)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#tickRate(net.minecraft.world.World)">tickRate</a></strong>(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> p_149738_1_)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#updateTick(net.minecraft.world.World,%20int,%20int,%20int,%20java.util.Random)">updateTick</a></strong>(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> p_149674_1_, + int p_149674_2_, + int p_149674_3_, + int p_149674_4_, + java.util.Random p_149674_5_)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/block/Block.html#velocityToAddToEntity(net.minecraft.world.World,%20int,%20int,%20int,%20net.minecraft.entity.Entity,%20net.minecraft.util.Vec3)">velocityToAddToEntity</a></strong>(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> p_149640_1_, + int p_149640_2_, + int p_149640_3_, + int p_149640_4_, + <a href="../../../net/minecraft/entity/Entity.html" title="class in net.minecraft.entity">Entity</a> p_149640_5_, + <a href="../../../net/minecraft/util/Vec3.html" title="class in net.minecraft.util">Vec3</a> p_149640_6_)</code> </td> +</tr> +</table> +<ul class="blockList"> +<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object"> +<!-- --> +</a> +<h3>Methods inherited from class java.lang.Object</h3> +<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li> +</ul> +</li> +</ul> +</li> +</ul> +</div> +<div class="details"> +<ul class="blockList"> +<li class="blockList"> +<!-- ============ FIELD DETAIL =========== --> +<ul class="blockList"> +<li class="blockList"><a name="field_detail"> +<!-- --> +</a> +<h3>Field Detail</h3> +<a name="blockRegistry"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>blockRegistry</h4> +<pre>public static final <a href="../../../net/minecraft/util/RegistryNamespaced.html" title="class in net.minecraft.util">RegistryNamespaced</a> blockRegistry</pre> +</li> +</ul> +<a name="textureName"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>textureName</h4> +<pre>protected java.lang.String textureName</pre> +</li> +</ul> +<a name="soundTypeStone"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>soundTypeStone</h4> +<pre>public static final <a href="../../../net/minecraft/block/Block.SoundType.html" title="class in net.minecraft.block">Block.SoundType</a> soundTypeStone</pre> +</li> +</ul> +<a name="soundTypeWood"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>soundTypeWood</h4> +<pre>public static final <a href="../../../net/minecraft/block/Block.SoundType.html" title="class in net.minecraft.block">Block.SoundType</a> soundTypeWood</pre> +</li> +</ul> +<a name="soundTypeGravel"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>soundTypeGravel</h4> +<pre>public static final <a href="../../../net/minecraft/block/Block.SoundType.html" title="class in net.minecraft.block">Block.SoundType</a> soundTypeGravel</pre> +</li> +</ul> +<a name="soundTypeGrass"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>soundTypeGrass</h4> +<pre>public static final <a href="../../../net/minecraft/block/Block.SoundType.html" title="class in net.minecraft.block">Block.SoundType</a> soundTypeGrass</pre> +</li> +</ul> +<a name="soundTypePiston"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>soundTypePiston</h4> +<pre>public static final <a href="../../../net/minecraft/block/Block.SoundType.html" title="class in net.minecraft.block">Block.SoundType</a> soundTypePiston</pre> +</li> +</ul> +<a name="soundTypeMetal"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>soundTypeMetal</h4> +<pre>public static final <a href="../../../net/minecraft/block/Block.SoundType.html" title="class in net.minecraft.block">Block.SoundType</a> soundTypeMetal</pre> +</li> +</ul> +<a name="soundTypeGlass"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>soundTypeGlass</h4> +<pre>public static final <a href="../../../net/minecraft/block/Block.SoundType.html" title="class in net.minecraft.block">Block.SoundType</a> soundTypeGlass</pre> +</li> +</ul> +<a name="soundTypeCloth"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>soundTypeCloth</h4> +<pre>public static final <a href="../../../net/minecraft/block/Block.SoundType.html" title="class in net.minecraft.block">Block.SoundType</a> soundTypeCloth</pre> +</li> +</ul> +<a name="soundTypeSand"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>soundTypeSand</h4> +<pre>public static final <a href="../../../net/minecraft/block/Block.SoundType.html" title="class in net.minecraft.block">Block.SoundType</a> soundTypeSand</pre> +</li> +</ul> +<a name="soundTypeSnow"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>soundTypeSnow</h4> +<pre>public static final <a href="../../../net/minecraft/block/Block.SoundType.html" title="class in net.minecraft.block">Block.SoundType</a> soundTypeSnow</pre> +</li> +</ul> +<a name="soundTypeLadder"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>soundTypeLadder</h4> +<pre>public static final <a href="../../../net/minecraft/block/Block.SoundType.html" title="class in net.minecraft.block">Block.SoundType</a> soundTypeLadder</pre> +</li> +</ul> +<a name="soundTypeAnvil"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>soundTypeAnvil</h4> +<pre>public static final <a href="../../../net/minecraft/block/Block.SoundType.html" title="class in net.minecraft.block">Block.SoundType</a> soundTypeAnvil</pre> +</li> +</ul> +<a name="opaque"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>opaque</h4> +<pre>protected boolean opaque</pre> +</li> +</ul> +<a name="lightOpacity"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>lightOpacity</h4> +<pre>protected int lightOpacity</pre> +</li> +</ul> +<a name="canBlockGrass"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>canBlockGrass</h4> +<pre>protected boolean canBlockGrass</pre> +</li> +</ul> +<a name="lightValue"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>lightValue</h4> +<pre>protected int lightValue</pre> +</li> +</ul> +<a name="useNeighborBrightness"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>useNeighborBrightness</h4> +<pre>protected boolean useNeighborBrightness</pre> +</li> +</ul> +<a name="blockHardness"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>blockHardness</h4> +<pre>protected float blockHardness</pre> +</li> +</ul> +<a name="blockResistance"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>blockResistance</h4> +<pre>protected float blockResistance</pre> +</li> +</ul> +<a name="blockConstructorCalled"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>blockConstructorCalled</h4> +<pre>protected boolean blockConstructorCalled</pre> +</li> +</ul> +<a name="enableStats"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>enableStats</h4> +<pre>protected boolean enableStats</pre> +</li> +</ul> +<a name="needsRandomTick"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>needsRandomTick</h4> +<pre>protected boolean needsRandomTick</pre> +</li> +</ul> +<a name="isBlockContainer"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>isBlockContainer</h4> +<pre>protected boolean isBlockContainer</pre> +</li> +</ul> +<a name="minX"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>minX</h4> +<pre>protected double minX</pre> +</li> +</ul> +<a name="minY"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>minY</h4> +<pre>protected double minY</pre> +</li> +</ul> +<a name="minZ"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>minZ</h4> +<pre>protected double minZ</pre> +</li> +</ul> +<a name="maxX"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>maxX</h4> +<pre>protected double maxX</pre> +</li> +</ul> +<a name="maxY"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>maxY</h4> +<pre>protected double maxY</pre> +</li> +</ul> +<a name="maxZ"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>maxZ</h4> +<pre>protected double maxZ</pre> +</li> +</ul> +<a name="stepSound"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>stepSound</h4> +<pre>public <a href="../../../net/minecraft/block/Block.SoundType.html" title="class in net.minecraft.block">Block.SoundType</a> stepSound</pre> +</li> +</ul> +<a name="blockParticleGravity"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>blockParticleGravity</h4> +<pre>public float blockParticleGravity</pre> +</li> +</ul> +<a name="blockMaterial"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>blockMaterial</h4> +<pre>protected final <a href="../../../net/minecraft/block/material/Material.html" title="class in net.minecraft.block.material">Material</a> blockMaterial</pre> +</li> +</ul> +<a name="slipperiness"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>slipperiness</h4> +<pre>public float slipperiness</pre> +</li> +</ul> +<a name="blockIcon"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>blockIcon</h4> +<pre>protected <a href="../../../net/minecraft/util/IIcon.html" title="interface in net.minecraft.util">IIcon</a> blockIcon</pre> +</li> +</ul> +<a name="delegate"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>delegate</h4> +<pre>public final <a href="../../../cpw/mods/fml/common/registry/RegistryDelegate.html" title="interface in cpw.mods.fml.common.registry">RegistryDelegate</a><<a href="../../../net/minecraft/block/Block.html" title="class in net.minecraft.block">Block</a>> delegate</pre> +</li> +</ul> +<a name="harvesters"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>harvesters</h4> +<pre>protected java.lang.ThreadLocal<<a href="../../../net/minecraft/entity/player/EntityPlayer.html" title="class in net.minecraft.entity.player">EntityPlayer</a>> harvesters</pre> +</li> +</ul> +<a name="captureDrops"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>captureDrops</h4> +<pre>protected java.lang.ThreadLocal<java.lang.Boolean> captureDrops</pre> +</li> +</ul> +<a name="capturedDrops"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>capturedDrops</h4> +<pre>protected java.lang.ThreadLocal<java.util.List<<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a>>> capturedDrops</pre> +</li> +</ul> +</li> +</ul> +<!-- ========= CONSTRUCTOR DETAIL ======== --> +<ul class="blockList"> +<li class="blockList"><a name="constructor_detail"> +<!-- --> +</a> +<h3>Constructor Detail</h3> +<a name="Block(net.minecraft.block.material.Material)"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>Block</h4> +<pre>protected Block(<a href="../../../net/minecraft/block/material/Material.html" title="class in net.minecraft.block.material">Material</a> p_i45394_1_)</pre> +</li> +</ul> +</li> +</ul> +<!-- ============ METHOD DETAIL ========== --> +<ul class="blockList"> +<li class="blockList"><a name="method_detail"> +<!-- --> +</a> +<h3>Method Detail</h3> +<a name="getIdFromBlock(net.minecraft.block.Block)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getIdFromBlock</h4> +<pre>public static int getIdFromBlock(<a href="../../../net/minecraft/block/Block.html" title="class in net.minecraft.block">Block</a> p_149682_0_)</pre> +</li> +</ul> +<a name="getBlockById(int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getBlockById</h4> +<pre>public static <a href="../../../net/minecraft/block/Block.html" title="class in net.minecraft.block">Block</a> getBlockById(int p_149729_0_)</pre> +</li> +</ul> +<a name="getBlockFromItem(net.minecraft.item.Item)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getBlockFromItem</h4> +<pre>public static <a href="../../../net/minecraft/block/Block.html" title="class in net.minecraft.block">Block</a> getBlockFromItem(<a href="../../../net/minecraft/item/Item.html" title="class in net.minecraft.item">Item</a> p_149634_0_)</pre> +</li> +</ul> +<a name="getBlockFromName(java.lang.String)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getBlockFromName</h4> +<pre>public static <a href="../../../net/minecraft/block/Block.html" title="class in net.minecraft.block">Block</a> getBlockFromName(java.lang.String p_149684_0_)</pre> +</li> +</ul> +<a name="func_149730_j()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>func_149730_j</h4> +<pre>public boolean func_149730_j()</pre> +</li> +</ul> +<a name="getLightOpacity()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getLightOpacity</h4> +<pre>public int getLightOpacity()</pre> +</li> +</ul> +<a name="getCanBlockGrass()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getCanBlockGrass</h4> +<pre>public boolean getCanBlockGrass()</pre> +</li> +</ul> +<a name="getLightValue()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getLightValue</h4> +<pre>public int getLightValue()</pre> +</li> +</ul> +<a name="getUseNeighborBrightness()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getUseNeighborBrightness</h4> +<pre>public boolean getUseNeighborBrightness()</pre> +</li> +</ul> +<a name="getMaterial()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getMaterial</h4> +<pre>public <a href="../../../net/minecraft/block/material/Material.html" title="class in net.minecraft.block.material">Material</a> getMaterial()</pre> +</li> +</ul> +<a name="getMapColor(int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getMapColor</h4> +<pre>public <a href="../../../net/minecraft/block/material/MapColor.html" title="class in net.minecraft.block.material">MapColor</a> getMapColor(int p_149728_1_)</pre> +</li> +</ul> +<a name="registerBlocks()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>registerBlocks</h4> +<pre>public static void registerBlocks()</pre> +</li> +</ul> +<a name="setStepSound(net.minecraft.block.Block.SoundType)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setStepSound</h4> +<pre>public <a href="../../../net/minecraft/block/Block.html" title="class in net.minecraft.block">Block</a> setStepSound(<a href="../../../net/minecraft/block/Block.SoundType.html" title="class in net.minecraft.block">Block.SoundType</a> p_149672_1_)</pre> +</li> +</ul> +<a name="setLightOpacity(int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setLightOpacity</h4> +<pre>public <a href="../../../net/minecraft/block/Block.html" title="class in net.minecraft.block">Block</a> setLightOpacity(int p_149713_1_)</pre> +</li> +</ul> +<a name="setLightLevel(float)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setLightLevel</h4> +<pre>public <a href="../../../net/minecraft/block/Block.html" title="class in net.minecraft.block">Block</a> setLightLevel(float p_149715_1_)</pre> +</li> +</ul> +<a name="setResistance(float)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setResistance</h4> +<pre>public <a href="../../../net/minecraft/block/Block.html" title="class in net.minecraft.block">Block</a> setResistance(float p_149752_1_)</pre> +</li> +</ul> +<a name="isBlockNormalCube()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>isBlockNormalCube</h4> +<pre>public boolean isBlockNormalCube()</pre> +</li> +</ul> +<a name="isNormalCube()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>isNormalCube</h4> +<pre>public boolean isNormalCube()</pre> +</li> +</ul> +<a name="renderAsNormalBlock()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>renderAsNormalBlock</h4> +<pre>public boolean renderAsNormalBlock()</pre> +</li> +</ul> +<a name="getBlocksMovement(net.minecraft.world.IBlockAccess, int, int, int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getBlocksMovement</h4> +<pre>public boolean getBlocksMovement(<a href="../../../net/minecraft/world/IBlockAccess.html" title="interface in net.minecraft.world">IBlockAccess</a> p_149655_1_, + int p_149655_2_, + int p_149655_3_, + int p_149655_4_)</pre> +</li> +</ul> +<a name="getRenderType()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getRenderType</h4> +<pre>public int getRenderType()</pre> +</li> +</ul> +<a name="setHardness(float)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setHardness</h4> +<pre>public <a href="../../../net/minecraft/block/Block.html" title="class in net.minecraft.block">Block</a> setHardness(float p_149711_1_)</pre> +</li> +</ul> +<a name="setBlockUnbreakable()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setBlockUnbreakable</h4> +<pre>public <a href="../../../net/minecraft/block/Block.html" title="class in net.minecraft.block">Block</a> setBlockUnbreakable()</pre> +</li> +</ul> +<a name="getBlockHardness(net.minecraft.world.World, int, int, int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getBlockHardness</h4> +<pre>public float getBlockHardness(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> p_149712_1_, + int p_149712_2_, + int p_149712_3_, + int p_149712_4_)</pre> +</li> +</ul> +<a name="setTickRandomly(boolean)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setTickRandomly</h4> +<pre>public <a href="../../../net/minecraft/block/Block.html" title="class in net.minecraft.block">Block</a> setTickRandomly(boolean p_149675_1_)</pre> +</li> +</ul> +<a name="getTickRandomly()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getTickRandomly</h4> +<pre>public boolean getTickRandomly()</pre> +</li> +</ul> +<a name="hasTileEntity()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>hasTileEntity</h4> +<pre>@Deprecated +public boolean hasTileEntity()</pre> +<div class="block"><span class="strong">Deprecated.</span> </div> +</li> +</ul> +<a name="setBlockBounds(float, float, float, float, float, float)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setBlockBounds</h4> +<pre>public final void setBlockBounds(float p_149676_1_, + float p_149676_2_, + float p_149676_3_, + float p_149676_4_, + float p_149676_5_, + float p_149676_6_)</pre> +</li> +</ul> +<a name="getMixedBrightnessForBlock(net.minecraft.world.IBlockAccess, int, int, int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getMixedBrightnessForBlock</h4> +<pre>public int getMixedBrightnessForBlock(<a href="../../../net/minecraft/world/IBlockAccess.html" title="interface in net.minecraft.world">IBlockAccess</a> p_149677_1_, + int p_149677_2_, + int p_149677_3_, + int p_149677_4_)</pre> +</li> +</ul> +<a name="shouldSideBeRendered(net.minecraft.world.IBlockAccess, int, int, int, int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>shouldSideBeRendered</h4> +<pre>public boolean shouldSideBeRendered(<a href="../../../net/minecraft/world/IBlockAccess.html" title="interface in net.minecraft.world">IBlockAccess</a> p_149646_1_, + int p_149646_2_, + int p_149646_3_, + int p_149646_4_, + int p_149646_5_)</pre> +</li> +</ul> +<a name="isBlockSolid(net.minecraft.world.IBlockAccess, int, int, int, int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>isBlockSolid</h4> +<pre>public boolean isBlockSolid(<a href="../../../net/minecraft/world/IBlockAccess.html" title="interface in net.minecraft.world">IBlockAccess</a> p_149747_1_, + int p_149747_2_, + int p_149747_3_, + int p_149747_4_, + int p_149747_5_)</pre> +</li> +</ul> +<a name="getIcon(net.minecraft.world.IBlockAccess, int, int, int, int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getIcon</h4> +<pre>public <a href="../../../net/minecraft/util/IIcon.html" title="interface in net.minecraft.util">IIcon</a> getIcon(<a href="../../../net/minecraft/world/IBlockAccess.html" title="interface in net.minecraft.world">IBlockAccess</a> p_149673_1_, + int p_149673_2_, + int p_149673_3_, + int p_149673_4_, + int p_149673_5_)</pre> +</li> +</ul> +<a name="getIcon(int, int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getIcon</h4> +<pre>public <a href="../../../net/minecraft/util/IIcon.html" title="interface in net.minecraft.util">IIcon</a> getIcon(int p_149691_1_, + int p_149691_2_)</pre> +</li> +</ul> +<a name="addCollisionBoxesToList(net.minecraft.world.World, int, int, int, net.minecraft.util.AxisAlignedBB, java.util.List, net.minecraft.entity.Entity)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>addCollisionBoxesToList</h4> +<pre>public void addCollisionBoxesToList(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> p_149743_1_, + int p_149743_2_, + int p_149743_3_, + int p_149743_4_, + <a href="../../../net/minecraft/util/AxisAlignedBB.html" title="class in net.minecraft.util">AxisAlignedBB</a> p_149743_5_, + java.util.List p_149743_6_, + <a href="../../../net/minecraft/entity/Entity.html" title="class in net.minecraft.entity">Entity</a> p_149743_7_)</pre> +</li> +</ul> +<a name="getCollisionBoundingBoxFromPool(net.minecraft.world.World, int, int, int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getCollisionBoundingBoxFromPool</h4> +<pre>public <a href="../../../net/minecraft/util/AxisAlignedBB.html" title="class in net.minecraft.util">AxisAlignedBB</a> getCollisionBoundingBoxFromPool(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> p_149668_1_, + int p_149668_2_, + int p_149668_3_, + int p_149668_4_)</pre> +</li> +</ul> +<a name="getBlockTextureFromSide(int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getBlockTextureFromSide</h4> +<pre>public final <a href="../../../net/minecraft/util/IIcon.html" title="interface in net.minecraft.util">IIcon</a> getBlockTextureFromSide(int p_149733_1_)</pre> +</li> +</ul> +<a name="getSelectedBoundingBoxFromPool(net.minecraft.world.World, int, int, int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getSelectedBoundingBoxFromPool</h4> +<pre>public <a href="../../../net/minecraft/util/AxisAlignedBB.html" title="class in net.minecraft.util">AxisAlignedBB</a> getSelectedBoundingBoxFromPool(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> p_149633_1_, + int p_149633_2_, + int p_149633_3_, + int p_149633_4_)</pre> +</li> +</ul> +<a name="isOpaqueCube()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>isOpaqueCube</h4> +<pre>public boolean isOpaqueCube()</pre> +</li> +</ul> +<a name="canCollideCheck(int, boolean)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>canCollideCheck</h4> +<pre>public boolean canCollideCheck(int p_149678_1_, + boolean p_149678_2_)</pre> +</li> +</ul> +<a name="isCollidable()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>isCollidable</h4> +<pre>public boolean isCollidable()</pre> +</li> +</ul> +<a name="updateTick(net.minecraft.world.World, int, int, int, java.util.Random)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>updateTick</h4> +<pre>public void updateTick(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> p_149674_1_, + int p_149674_2_, + int p_149674_3_, + int p_149674_4_, + java.util.Random p_149674_5_)</pre> +</li> +</ul> +<a name="randomDisplayTick(net.minecraft.world.World, int, int, int, java.util.Random)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>randomDisplayTick</h4> +<pre>public void randomDisplayTick(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> p_149734_1_, + int p_149734_2_, + int p_149734_3_, + int p_149734_4_, + java.util.Random p_149734_5_)</pre> +</li> +</ul> +<a name="onBlockDestroyedByPlayer(net.minecraft.world.World, int, int, int, int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>onBlockDestroyedByPlayer</h4> +<pre>public void onBlockDestroyedByPlayer(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> p_149664_1_, + int p_149664_2_, + int p_149664_3_, + int p_149664_4_, + int p_149664_5_)</pre> +</li> +</ul> +<a name="onNeighborBlockChange(net.minecraft.world.World, int, int, int, net.minecraft.block.Block)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>onNeighborBlockChange</h4> +<pre>public void onNeighborBlockChange(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> p_149695_1_, + int p_149695_2_, + int p_149695_3_, + int p_149695_4_, + <a href="../../../net/minecraft/block/Block.html" title="class in net.minecraft.block">Block</a> p_149695_5_)</pre> +</li> +</ul> +<a name="tickRate(net.minecraft.world.World)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>tickRate</h4> +<pre>public int tickRate(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> p_149738_1_)</pre> +</li> +</ul> +<a name="onBlockAdded(net.minecraft.world.World, int, int, int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>onBlockAdded</h4> +<pre>public void onBlockAdded(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> p_149726_1_, + int p_149726_2_, + int p_149726_3_, + int p_149726_4_)</pre> +</li> +</ul> +<a name="breakBlock(net.minecraft.world.World, int, int, int, net.minecraft.block.Block, int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>breakBlock</h4> +<pre>public void breakBlock(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> p_149749_1_, + int p_149749_2_, + int p_149749_3_, + int p_149749_4_, + <a href="../../../net/minecraft/block/Block.html" title="class in net.minecraft.block">Block</a> p_149749_5_, + int p_149749_6_)</pre> +</li> +</ul> +<a name="quantityDropped(java.util.Random)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>quantityDropped</h4> +<pre>public int quantityDropped(java.util.Random p_149745_1_)</pre> +</li> +</ul> +<a name="getItemDropped(int, java.util.Random, int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getItemDropped</h4> +<pre>public <a href="../../../net/minecraft/item/Item.html" title="class in net.minecraft.item">Item</a> getItemDropped(int p_149650_1_, + java.util.Random p_149650_2_, + int p_149650_3_)</pre> +</li> +</ul> +<a name="getPlayerRelativeBlockHardness(net.minecraft.entity.player.EntityPlayer, net.minecraft.world.World, int, int, int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getPlayerRelativeBlockHardness</h4> +<pre>public float getPlayerRelativeBlockHardness(<a href="../../../net/minecraft/entity/player/EntityPlayer.html" title="class in net.minecraft.entity.player">EntityPlayer</a> p_149737_1_, + <a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> p_149737_2_, + int p_149737_3_, + int p_149737_4_, + int p_149737_5_)</pre> +</li> +</ul> +<a name="dropBlockAsItem(net.minecraft.world.World, int, int, int, int, int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>dropBlockAsItem</h4> +<pre>public final void dropBlockAsItem(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> p_149697_1_, + int p_149697_2_, + int p_149697_3_, + int p_149697_4_, + int p_149697_5_, + int p_149697_6_)</pre> +</li> +</ul> +<a name="dropBlockAsItemWithChance(net.minecraft.world.World, int, int, int, int, float, int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>dropBlockAsItemWithChance</h4> +<pre>public void dropBlockAsItemWithChance(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> p_149690_1_, + int p_149690_2_, + int p_149690_3_, + int p_149690_4_, + int p_149690_5_, + float p_149690_6_, + int p_149690_7_)</pre> +</li> +</ul> +<a name="dropBlockAsItem(net.minecraft.world.World, int, int, int, net.minecraft.item.ItemStack)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>dropBlockAsItem</h4> +<pre>protected void dropBlockAsItem(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> p_149642_1_, + int p_149642_2_, + int p_149642_3_, + int p_149642_4_, + <a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> p_149642_5_)</pre> +</li> +</ul> +<a name="dropXpOnBlockBreak(net.minecraft.world.World, int, int, int, int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>dropXpOnBlockBreak</h4> +<pre>public void dropXpOnBlockBreak(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> p_149657_1_, + int p_149657_2_, + int p_149657_3_, + int p_149657_4_, + int p_149657_5_)</pre> +</li> +</ul> +<a name="damageDropped(int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>damageDropped</h4> +<pre>public int damageDropped(int p_149692_1_)</pre> +</li> +</ul> +<a name="getExplosionResistance(net.minecraft.entity.Entity)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getExplosionResistance</h4> +<pre>public float getExplosionResistance(<a href="../../../net/minecraft/entity/Entity.html" title="class in net.minecraft.entity">Entity</a> p_149638_1_)</pre> +</li> +</ul> +<a name="collisionRayTrace(net.minecraft.world.World, int, int, int, net.minecraft.util.Vec3, net.minecraft.util.Vec3)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>collisionRayTrace</h4> +<pre>public <a href="../../../net/minecraft/util/MovingObjectPosition.html" title="class in net.minecraft.util">MovingObjectPosition</a> collisionRayTrace(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> p_149731_1_, + int p_149731_2_, + int p_149731_3_, + int p_149731_4_, + <a href="../../../net/minecraft/util/Vec3.html" title="class in net.minecraft.util">Vec3</a> p_149731_5_, + <a href="../../../net/minecraft/util/Vec3.html" title="class in net.minecraft.util">Vec3</a> p_149731_6_)</pre> +</li> +</ul> +<a name="onBlockDestroyedByExplosion(net.minecraft.world.World, int, int, int, net.minecraft.world.Explosion)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>onBlockDestroyedByExplosion</h4> +<pre>public void onBlockDestroyedByExplosion(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> p_149723_1_, + int p_149723_2_, + int p_149723_3_, + int p_149723_4_, + <a href="../../../net/minecraft/world/Explosion.html" title="class in net.minecraft.world">Explosion</a> p_149723_5_)</pre> +</li> +</ul> +<a name="canReplace(net.minecraft.world.World, int, int, int, int, net.minecraft.item.ItemStack)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>canReplace</h4> +<pre>public boolean canReplace(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> p_149705_1_, + int p_149705_2_, + int p_149705_3_, + int p_149705_4_, + int p_149705_5_, + <a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> p_149705_6_)</pre> +</li> +</ul> +<a name="getRenderBlockPass()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getRenderBlockPass</h4> +<pre>public int getRenderBlockPass()</pre> +</li> +</ul> +<a name="canPlaceBlockOnSide(net.minecraft.world.World, int, int, int, int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>canPlaceBlockOnSide</h4> +<pre>public boolean canPlaceBlockOnSide(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> p_149707_1_, + int p_149707_2_, + int p_149707_3_, + int p_149707_4_, + int p_149707_5_)</pre> +</li> +</ul> +<a name="canPlaceBlockAt(net.minecraft.world.World, int, int, int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>canPlaceBlockAt</h4> +<pre>public boolean canPlaceBlockAt(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> p_149742_1_, + int p_149742_2_, + int p_149742_3_, + int p_149742_4_)</pre> +</li> +</ul> +<a name="onBlockActivated(net.minecraft.world.World, int, int, int, net.minecraft.entity.player.EntityPlayer, int, float, float, float)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>onBlockActivated</h4> +<pre>public boolean onBlockActivated(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> p_149727_1_, + int p_149727_2_, + int p_149727_3_, + int p_149727_4_, + <a href="../../../net/minecraft/entity/player/EntityPlayer.html" title="class in net.minecraft.entity.player">EntityPlayer</a> p_149727_5_, + int p_149727_6_, + float p_149727_7_, + float p_149727_8_, + float p_149727_9_)</pre> +</li> +</ul> +<a name="onEntityWalking(net.minecraft.world.World, int, int, int, net.minecraft.entity.Entity)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>onEntityWalking</h4> +<pre>public void onEntityWalking(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> p_149724_1_, + int p_149724_2_, + int p_149724_3_, + int p_149724_4_, + <a href="../../../net/minecraft/entity/Entity.html" title="class in net.minecraft.entity">Entity</a> p_149724_5_)</pre> +</li> +</ul> +<a name="onBlockPlaced(net.minecraft.world.World, int, int, int, int, float, float, float, int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>onBlockPlaced</h4> +<pre>public int onBlockPlaced(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> p_149660_1_, + int p_149660_2_, + int p_149660_3_, + int p_149660_4_, + int p_149660_5_, + float p_149660_6_, + float p_149660_7_, + float p_149660_8_, + int p_149660_9_)</pre> +</li> +</ul> +<a name="onBlockClicked(net.minecraft.world.World, int, int, int, net.minecraft.entity.player.EntityPlayer)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>onBlockClicked</h4> +<pre>public void onBlockClicked(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> p_149699_1_, + int p_149699_2_, + int p_149699_3_, + int p_149699_4_, + <a href="../../../net/minecraft/entity/player/EntityPlayer.html" title="class in net.minecraft.entity.player">EntityPlayer</a> p_149699_5_)</pre> +</li> +</ul> +<a name="velocityToAddToEntity(net.minecraft.world.World, int, int, int, net.minecraft.entity.Entity, net.minecraft.util.Vec3)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>velocityToAddToEntity</h4> +<pre>public void velocityToAddToEntity(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> p_149640_1_, + int p_149640_2_, + int p_149640_3_, + int p_149640_4_, + <a href="../../../net/minecraft/entity/Entity.html" title="class in net.minecraft.entity">Entity</a> p_149640_5_, + <a href="../../../net/minecraft/util/Vec3.html" title="class in net.minecraft.util">Vec3</a> p_149640_6_)</pre> +</li> +</ul> +<a name="setBlockBoundsBasedOnState(net.minecraft.world.IBlockAccess, int, int, int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setBlockBoundsBasedOnState</h4> +<pre>public void setBlockBoundsBasedOnState(<a href="../../../net/minecraft/world/IBlockAccess.html" title="interface in net.minecraft.world">IBlockAccess</a> p_149719_1_, + int p_149719_2_, + int p_149719_3_, + int p_149719_4_)</pre> +</li> +</ul> +<a name="getBlockBoundsMinX()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getBlockBoundsMinX</h4> +<pre>public final double getBlockBoundsMinX()</pre> +</li> +</ul> +<a name="getBlockBoundsMaxX()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getBlockBoundsMaxX</h4> +<pre>public final double getBlockBoundsMaxX()</pre> +</li> +</ul> +<a name="getBlockBoundsMinY()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getBlockBoundsMinY</h4> +<pre>public final double getBlockBoundsMinY()</pre> +</li> +</ul> +<a name="getBlockBoundsMaxY()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getBlockBoundsMaxY</h4> +<pre>public final double getBlockBoundsMaxY()</pre> +</li> +</ul> +<a name="getBlockBoundsMinZ()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getBlockBoundsMinZ</h4> +<pre>public final double getBlockBoundsMinZ()</pre> +</li> +</ul> +<a name="getBlockBoundsMaxZ()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getBlockBoundsMaxZ</h4> +<pre>public final double getBlockBoundsMaxZ()</pre> +</li> +</ul> +<a name="getBlockColor()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getBlockColor</h4> +<pre>public int getBlockColor()</pre> +</li> +</ul> +<a name="getRenderColor(int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getRenderColor</h4> +<pre>public int getRenderColor(int p_149741_1_)</pre> +</li> +</ul> +<a name="colorMultiplier(net.minecraft.world.IBlockAccess, int, int, int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>colorMultiplier</h4> +<pre>public int colorMultiplier(<a href="../../../net/minecraft/world/IBlockAccess.html" title="interface in net.minecraft.world">IBlockAccess</a> p_149720_1_, + int p_149720_2_, + int p_149720_3_, + int p_149720_4_)</pre> +</li> +</ul> +<a name="isProvidingWeakPower(net.minecraft.world.IBlockAccess, int, int, int, int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>isProvidingWeakPower</h4> +<pre>public int isProvidingWeakPower(<a href="../../../net/minecraft/world/IBlockAccess.html" title="interface in net.minecraft.world">IBlockAccess</a> p_149709_1_, + int p_149709_2_, + int p_149709_3_, + int p_149709_4_, + int p_149709_5_)</pre> +</li> +</ul> +<a name="canProvidePower()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>canProvidePower</h4> +<pre>public boolean canProvidePower()</pre> +</li> +</ul> +<a name="onEntityCollidedWithBlock(net.minecraft.world.World, int, int, int, net.minecraft.entity.Entity)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>onEntityCollidedWithBlock</h4> +<pre>public void onEntityCollidedWithBlock(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> p_149670_1_, + int p_149670_2_, + int p_149670_3_, + int p_149670_4_, + <a href="../../../net/minecraft/entity/Entity.html" title="class in net.minecraft.entity">Entity</a> p_149670_5_)</pre> +</li> +</ul> +<a name="isProvidingStrongPower(net.minecraft.world.IBlockAccess, int, int, int, int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>isProvidingStrongPower</h4> +<pre>public int isProvidingStrongPower(<a href="../../../net/minecraft/world/IBlockAccess.html" title="interface in net.minecraft.world">IBlockAccess</a> p_149748_1_, + int p_149748_2_, + int p_149748_3_, + int p_149748_4_, + int p_149748_5_)</pre> +</li> +</ul> +<a name="setBlockBoundsForItemRender()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setBlockBoundsForItemRender</h4> +<pre>public void setBlockBoundsForItemRender()</pre> +</li> +</ul> +<a name="harvestBlock(net.minecraft.world.World, net.minecraft.entity.player.EntityPlayer, int, int, int, int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>harvestBlock</h4> +<pre>public void harvestBlock(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> p_149636_1_, + <a href="../../../net/minecraft/entity/player/EntityPlayer.html" title="class in net.minecraft.entity.player">EntityPlayer</a> p_149636_2_, + int p_149636_3_, + int p_149636_4_, + int p_149636_5_, + int p_149636_6_)</pre> +</li> +</ul> +<a name="canSilkHarvest()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>canSilkHarvest</h4> +<pre>protected boolean canSilkHarvest()</pre> +</li> +</ul> +<a name="createStackedBlock(int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>createStackedBlock</h4> +<pre>protected <a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> createStackedBlock(int p_149644_1_)</pre> +</li> +</ul> +<a name="quantityDroppedWithBonus(int, java.util.Random)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>quantityDroppedWithBonus</h4> +<pre>public int quantityDroppedWithBonus(int p_149679_1_, + java.util.Random p_149679_2_)</pre> +</li> +</ul> +<a name="canBlockStay(net.minecraft.world.World, int, int, int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>canBlockStay</h4> +<pre>public boolean canBlockStay(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> p_149718_1_, + int p_149718_2_, + int p_149718_3_, + int p_149718_4_)</pre> +</li> +</ul> +<a name="onBlockPlacedBy(net.minecraft.world.World, int, int, int, net.minecraft.entity.EntityLivingBase, net.minecraft.item.ItemStack)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>onBlockPlacedBy</h4> +<pre>public void onBlockPlacedBy(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> p_149689_1_, + int p_149689_2_, + int p_149689_3_, + int p_149689_4_, + <a href="../../../net/minecraft/entity/EntityLivingBase.html" title="class in net.minecraft.entity">EntityLivingBase</a> p_149689_5_, + <a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> p_149689_6_)</pre> +</li> +</ul> +<a name="onPostBlockPlaced(net.minecraft.world.World, int, int, int, int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>onPostBlockPlaced</h4> +<pre>public void onPostBlockPlaced(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> p_149714_1_, + int p_149714_2_, + int p_149714_3_, + int p_149714_4_, + int p_149714_5_)</pre> +</li> +</ul> +<a name="setBlockName(java.lang.String)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setBlockName</h4> +<pre>public <a href="../../../net/minecraft/block/Block.html" title="class in net.minecraft.block">Block</a> setBlockName(java.lang.String p_149663_1_)</pre> +</li> +</ul> +<a name="getLocalizedName()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getLocalizedName</h4> +<pre>public java.lang.String getLocalizedName()</pre> +</li> +</ul> +<a name="getUnlocalizedName()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getUnlocalizedName</h4> +<pre>public java.lang.String getUnlocalizedName()</pre> +</li> +</ul> +<a name="onBlockEventReceived(net.minecraft.world.World, int, int, int, int, int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>onBlockEventReceived</h4> +<pre>public boolean onBlockEventReceived(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> p_149696_1_, + int p_149696_2_, + int p_149696_3_, + int p_149696_4_, + int p_149696_5_, + int p_149696_6_)</pre> +</li> +</ul> +<a name="getEnableStats()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getEnableStats</h4> +<pre>public boolean getEnableStats()</pre> +</li> +</ul> +<a name="disableStats()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>disableStats</h4> +<pre>protected <a href="../../../net/minecraft/block/Block.html" title="class in net.minecraft.block">Block</a> disableStats()</pre> +</li> +</ul> +<a name="getMobilityFlag()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getMobilityFlag</h4> +<pre>public int getMobilityFlag()</pre> +</li> +</ul> +<a name="getAmbientOcclusionLightValue()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getAmbientOcclusionLightValue</h4> +<pre>public float getAmbientOcclusionLightValue()</pre> +</li> +</ul> +<a name="onFallenUpon(net.minecraft.world.World, int, int, int, net.minecraft.entity.Entity, float)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>onFallenUpon</h4> +<pre>public void onFallenUpon(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> p_149746_1_, + int p_149746_2_, + int p_149746_3_, + int p_149746_4_, + <a href="../../../net/minecraft/entity/Entity.html" title="class in net.minecraft.entity">Entity</a> p_149746_5_, + float p_149746_6_)</pre> +</li> +</ul> +<a name="getItem(net.minecraft.world.World, int, int, int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getItem</h4> +<pre>public <a href="../../../net/minecraft/item/Item.html" title="class in net.minecraft.item">Item</a> getItem(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> p_149694_1_, + int p_149694_2_, + int p_149694_3_, + int p_149694_4_)</pre> +</li> +</ul> +<a name="getDamageValue(net.minecraft.world.World, int, int, int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getDamageValue</h4> +<pre>public int getDamageValue(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> p_149643_1_, + int p_149643_2_, + int p_149643_3_, + int p_149643_4_)</pre> +</li> +</ul> +<a name="getSubBlocks(net.minecraft.item.Item, net.minecraft.creativetab.CreativeTabs, java.util.List)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getSubBlocks</h4> +<pre>public void getSubBlocks(<a href="../../../net/minecraft/item/Item.html" title="class in net.minecraft.item">Item</a> p_149666_1_, + <a href="../../../net/minecraft/creativetab/CreativeTabs.html" title="class in net.minecraft.creativetab">CreativeTabs</a> p_149666_2_, + java.util.List p_149666_3_)</pre> +</li> +</ul> +<a name="setCreativeTab(net.minecraft.creativetab.CreativeTabs)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setCreativeTab</h4> +<pre>public <a href="../../../net/minecraft/block/Block.html" title="class in net.minecraft.block">Block</a> setCreativeTab(<a href="../../../net/minecraft/creativetab/CreativeTabs.html" title="class in net.minecraft.creativetab">CreativeTabs</a> p_149647_1_)</pre> +</li> +</ul> +<a name="onBlockHarvested(net.minecraft.world.World, int, int, int, int, net.minecraft.entity.player.EntityPlayer)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>onBlockHarvested</h4> +<pre>public void onBlockHarvested(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> p_149681_1_, + int p_149681_2_, + int p_149681_3_, + int p_149681_4_, + int p_149681_5_, + <a href="../../../net/minecraft/entity/player/EntityPlayer.html" title="class in net.minecraft.entity.player">EntityPlayer</a> p_149681_6_)</pre> +</li> +</ul> +<a name="getCreativeTabToDisplayOn()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getCreativeTabToDisplayOn</h4> +<pre>public <a href="../../../net/minecraft/creativetab/CreativeTabs.html" title="class in net.minecraft.creativetab">CreativeTabs</a> getCreativeTabToDisplayOn()</pre> +</li> +</ul> +<a name="onBlockPreDestroy(net.minecraft.world.World, int, int, int, int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>onBlockPreDestroy</h4> +<pre>public void onBlockPreDestroy(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> p_149725_1_, + int p_149725_2_, + int p_149725_3_, + int p_149725_4_, + int p_149725_5_)</pre> +</li> +</ul> +<a name="fillWithRain(net.minecraft.world.World, int, int, int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>fillWithRain</h4> +<pre>public void fillWithRain(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> p_149639_1_, + int p_149639_2_, + int p_149639_3_, + int p_149639_4_)</pre> +</li> +</ul> +<a name="isFlowerPot()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>isFlowerPot</h4> +<pre>public boolean isFlowerPot()</pre> +</li> +</ul> +<a name="func_149698_L()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>func_149698_L</h4> +<pre>public boolean func_149698_L()</pre> +</li> +</ul> +<a name="canDropFromExplosion(net.minecraft.world.Explosion)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>canDropFromExplosion</h4> +<pre>public boolean canDropFromExplosion(<a href="../../../net/minecraft/world/Explosion.html" title="class in net.minecraft.world">Explosion</a> p_149659_1_)</pre> +</li> +</ul> +<a name="isAssociatedBlock(net.minecraft.block.Block)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>isAssociatedBlock</h4> +<pre>public boolean isAssociatedBlock(<a href="../../../net/minecraft/block/Block.html" title="class in net.minecraft.block">Block</a> p_149667_1_)</pre> +</li> +</ul> +<a name="isEqualTo(net.minecraft.block.Block, net.minecraft.block.Block)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>isEqualTo</h4> +<pre>public static boolean isEqualTo(<a href="../../../net/minecraft/block/Block.html" title="class in net.minecraft.block">Block</a> p_149680_0_, + <a href="../../../net/minecraft/block/Block.html" title="class in net.minecraft.block">Block</a> p_149680_1_)</pre> +</li> +</ul> +<a name="hasComparatorInputOverride()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>hasComparatorInputOverride</h4> +<pre>public boolean hasComparatorInputOverride()</pre> +</li> +</ul> +<a name="getComparatorInputOverride(net.minecraft.world.World, int, int, int, int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getComparatorInputOverride</h4> +<pre>public int getComparatorInputOverride(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> p_149736_1_, + int p_149736_2_, + int p_149736_3_, + int p_149736_4_, + int p_149736_5_)</pre> +</li> +</ul> +<a name="setBlockTextureName(java.lang.String)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setBlockTextureName</h4> +<pre>public <a href="../../../net/minecraft/block/Block.html" title="class in net.minecraft.block">Block</a> setBlockTextureName(java.lang.String p_149658_1_)</pre> +</li> +</ul> +<a name="getTextureName()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getTextureName</h4> +<pre>protected java.lang.String getTextureName()</pre> +</li> +</ul> +<a name="func_149735_b(int, int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>func_149735_b</h4> +<pre>public <a href="../../../net/minecraft/util/IIcon.html" title="interface in net.minecraft.util">IIcon</a> func_149735_b(int p_149735_1_, + int p_149735_2_)</pre> +</li> +</ul> +<a name="registerBlockIcons(net.minecraft.client.renderer.texture.IIconRegister)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>registerBlockIcons</h4> +<pre>public void registerBlockIcons(<a href="../../../net/minecraft/client/renderer/texture/IIconRegister.html" title="interface in net.minecraft.client.renderer.texture">IIconRegister</a> p_149651_1_)</pre> +</li> +</ul> +<a name="getItemIconName()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getItemIconName</h4> +<pre>public java.lang.String getItemIconName()</pre> +</li> +</ul> +<a name="getLightValue(net.minecraft.world.IBlockAccess, int, int, int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getLightValue</h4> +<pre>public int getLightValue(<a href="../../../net/minecraft/world/IBlockAccess.html" title="interface in net.minecraft.world">IBlockAccess</a> world, + int x, + int y, + int z)</pre> +<div class="block">Get a light value for the block at the specified coordinates, normal ranges are between 0 and 15</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>world</code> - The current world</dd><dd><code>x</code> - X Position</dd><dd><code>y</code> - Y position</dd><dd><code>z</code> - Z position</dd> +<dt><span class="strong">Returns:</span></dt><dd>The light value</dd></dl> +</li> +</ul> +<a name="isLadder(net.minecraft.world.IBlockAccess, int, int, int, net.minecraft.entity.EntityLivingBase)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>isLadder</h4> +<pre>public boolean isLadder(<a href="../../../net/minecraft/world/IBlockAccess.html" title="interface in net.minecraft.world">IBlockAccess</a> world, + int x, + int y, + int z, + <a href="../../../net/minecraft/entity/EntityLivingBase.html" title="class in net.minecraft.entity">EntityLivingBase</a> entity)</pre> +<div class="block">Checks if a player or entity can use this block to 'climb' like a ladder.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>world</code> - The current world</dd><dd><code>x</code> - X Position</dd><dd><code>y</code> - Y position</dd><dd><code>z</code> - Z position</dd><dd><code>entity</code> - The entity trying to use the ladder, CAN be null.</dd> +<dt><span class="strong">Returns:</span></dt><dd>True if the block should act like a ladder</dd></dl> +</li> +</ul> +<a name="isNormalCube(net.minecraft.world.IBlockAccess, int, int, int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>isNormalCube</h4> +<pre>public boolean isNormalCube(<a href="../../../net/minecraft/world/IBlockAccess.html" title="interface in net.minecraft.world">IBlockAccess</a> world, + int x, + int y, + int z)</pre> +<div class="block">Return true if the block is a normal, solid cube. This + determines indirect power state, entity ejection from blocks, and a few + others.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>world</code> - The current world</dd><dd><code>x</code> - X Position</dd><dd><code>y</code> - Y position</dd><dd><code>z</code> - Z position</dd> +<dt><span class="strong">Returns:</span></dt><dd>True if the block is a full cube</dd></dl> +</li> +</ul> +<a name="isSideSolid(net.minecraft.world.IBlockAccess, int, int, int, net.minecraftforge.common.util.ForgeDirection)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>isSideSolid</h4> +<pre>public boolean isSideSolid(<a href="../../../net/minecraft/world/IBlockAccess.html" title="interface in net.minecraft.world">IBlockAccess</a> world, + int x, + int y, + int z, + <a href="../../../net/minecraftforge/common/util/ForgeDirection.html" title="enum in net.minecraftforge.common.util">ForgeDirection</a> side)</pre> +<div class="block">Checks if the block is a solid face on the given side, used by placement logic.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>world</code> - The current world</dd><dd><code>x</code> - X Position</dd><dd><code>y</code> - Y position</dd><dd><code>z</code> - Z position</dd><dd><code>side</code> - The side to check</dd> +<dt><span class="strong">Returns:</span></dt><dd>True if the block is solid on the specified side.</dd></dl> +</li> +</ul> +<a name="isReplaceable(net.minecraft.world.IBlockAccess, int, int, int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>isReplaceable</h4> +<pre>public boolean isReplaceable(<a href="../../../net/minecraft/world/IBlockAccess.html" title="interface in net.minecraft.world">IBlockAccess</a> world, + int x, + int y, + int z)</pre> +<div class="block">Determines if a new block can be replace the space occupied by this one, + Used in the player's placement code to make the block act like water, and lava.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>world</code> - The current world</dd><dd><code>x</code> - X Position</dd><dd><code>y</code> - Y position</dd><dd><code>z</code> - Z position</dd> +<dt><span class="strong">Returns:</span></dt><dd>True if the block is replaceable by another block</dd></dl> +</li> +</ul> +<a name="isBurning(net.minecraft.world.IBlockAccess, int, int, int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>isBurning</h4> +<pre>public boolean isBurning(<a href="../../../net/minecraft/world/IBlockAccess.html" title="interface in net.minecraft.world">IBlockAccess</a> world, + int x, + int y, + int z)</pre> +<div class="block">Determines if this block should set fire and deal fire damage + to entities coming into contact with it.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>world</code> - The current world</dd><dd><code>x</code> - X Position</dd><dd><code>y</code> - Y position</dd><dd><code>z</code> - Z position</dd> +<dt><span class="strong">Returns:</span></dt><dd>True if the block should deal damage</dd></dl> +</li> +</ul> +<a name="isAir(net.minecraft.world.IBlockAccess, int, int, int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>isAir</h4> +<pre>public boolean isAir(<a href="../../../net/minecraft/world/IBlockAccess.html" title="interface in net.minecraft.world">IBlockAccess</a> world, + int x, + int y, + int z)</pre> +<div class="block">Determines this block should be treated as an air block + by the rest of the code. This method is primarily + useful for creating pure logic-blocks that will be invisible + to the player and otherwise interact as air would.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>world</code> - The current world</dd><dd><code>x</code> - X Position</dd><dd><code>y</code> - Y position</dd><dd><code>z</code> - Z position</dd> +<dt><span class="strong">Returns:</span></dt><dd>True if the block considered air</dd></dl> +</li> +</ul> +<a name="canHarvestBlock(net.minecraft.entity.player.EntityPlayer, int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>canHarvestBlock</h4> +<pre>public boolean canHarvestBlock(<a href="../../../net/minecraft/entity/player/EntityPlayer.html" title="class in net.minecraft.entity.player">EntityPlayer</a> player, + int meta)</pre> +<div class="block">Determines if the player can harvest this block, obtaining it's drops when the block is destroyed.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>player</code> - The player damaging the block, may be null</dd><dd><code>meta</code> - The block's current metadata</dd> +<dt><span class="strong">Returns:</span></dt><dd>True to spawn the drops</dd></dl> +</li> +</ul> +<a name="removedByPlayer(net.minecraft.world.World, net.minecraft.entity.player.EntityPlayer, int, int, int, boolean)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>removedByPlayer</h4> +<pre>public boolean removedByPlayer(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> world, + <a href="../../../net/minecraft/entity/player/EntityPlayer.html" title="class in net.minecraft.entity.player">EntityPlayer</a> player, + int x, + int y, + int z, + boolean willHarvest)</pre> +<div class="block">Called when a player removes a block. This is responsible for + actually destroying the block, and the block is intact at time of call. + This is called regardless of whether the player can harvest the block or + not. + + Return true if the block is actually destroyed. + + Note: When used in multiplayer, this is called on both client and + server sides!</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>world</code> - The current world</dd><dd><code>player</code> - The player damaging the block, may be null</dd><dd><code>x</code> - X Position</dd><dd><code>y</code> - Y position</dd><dd><code>z</code> - Z position</dd><dd><code>willHarvest</code> - True if Block.harvestBlock will be called after this, if the return in true. + Can be useful to delay the destruction of tile entities till after harvestBlock</dd> +<dt><span class="strong">Returns:</span></dt><dd>True if the block is actually destroyed.</dd></dl> +</li> +</ul> +<a name="removedByPlayer(net.minecraft.world.World, net.minecraft.entity.player.EntityPlayer, int, int, int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>removedByPlayer</h4> +<pre>@Deprecated +public boolean removedByPlayer(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> world, + <a href="../../../net/minecraft/entity/player/EntityPlayer.html" title="class in net.minecraft.entity.player">EntityPlayer</a> player, + int x, + int y, + int z)</pre> +<div class="block"><span class="strong">Deprecated.</span> </div> +</li> +</ul> +<a name="getFlammability(net.minecraft.world.IBlockAccess, int, int, int, net.minecraftforge.common.util.ForgeDirection)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getFlammability</h4> +<pre>public int getFlammability(<a href="../../../net/minecraft/world/IBlockAccess.html" title="interface in net.minecraft.world">IBlockAccess</a> world, + int x, + int y, + int z, + <a href="../../../net/minecraftforge/common/util/ForgeDirection.html" title="enum in net.minecraftforge.common.util">ForgeDirection</a> face)</pre> +<div class="block">Chance that fire will spread and consume this block. + 300 being a 100% chance, 0, being a 0% chance.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>world</code> - The current world</dd><dd><code>x</code> - The blocks X position</dd><dd><code>y</code> - The blocks Y position</dd><dd><code>z</code> - The blocks Z position</dd><dd><code>face</code> - The face that the fire is coming from</dd> +<dt><span class="strong">Returns:</span></dt><dd>A number ranging from 0 to 300 relating used to determine if the block will be consumed by fire</dd></dl> +</li> +</ul> +<a name="isFlammable(net.minecraft.world.IBlockAccess, int, int, int, net.minecraftforge.common.util.ForgeDirection)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>isFlammable</h4> +<pre>public boolean isFlammable(<a href="../../../net/minecraft/world/IBlockAccess.html" title="interface in net.minecraft.world">IBlockAccess</a> world, + int x, + int y, + int z, + <a href="../../../net/minecraftforge/common/util/ForgeDirection.html" title="enum in net.minecraftforge.common.util">ForgeDirection</a> face)</pre> +<div class="block">Called when fire is updating, checks if a block face can catch fire.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>world</code> - The current world</dd><dd><code>x</code> - The blocks X position</dd><dd><code>y</code> - The blocks Y position</dd><dd><code>z</code> - The blocks Z position</dd><dd><code>face</code> - The face that the fire is coming from</dd> +<dt><span class="strong">Returns:</span></dt><dd>True if the face can be on fire, false otherwise.</dd></dl> +</li> +</ul> +<a name="getFireSpreadSpeed(net.minecraft.world.IBlockAccess, int, int, int, net.minecraftforge.common.util.ForgeDirection)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getFireSpreadSpeed</h4> +<pre>public int getFireSpreadSpeed(<a href="../../../net/minecraft/world/IBlockAccess.html" title="interface in net.minecraft.world">IBlockAccess</a> world, + int x, + int y, + int z, + <a href="../../../net/minecraftforge/common/util/ForgeDirection.html" title="enum in net.minecraftforge.common.util">ForgeDirection</a> face)</pre> +<div class="block">Called when fire is updating on a neighbor block. + The higher the number returned, the faster fire will spread around this block.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>world</code> - The current world</dd><dd><code>x</code> - The blocks X position</dd><dd><code>y</code> - The blocks Y position</dd><dd><code>z</code> - The blocks Z position</dd><dd><code>face</code> - The face that the fire is coming from</dd> +<dt><span class="strong">Returns:</span></dt><dd>A number that is used to determine the speed of fire growth around the block</dd></dl> +</li> +</ul> +<a name="isFireSource(net.minecraft.world.World, int, int, int, net.minecraftforge.common.util.ForgeDirection)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>isFireSource</h4> +<pre>public boolean isFireSource(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> world, + int x, + int y, + int z, + <a href="../../../net/minecraftforge/common/util/ForgeDirection.html" title="enum in net.minecraftforge.common.util">ForgeDirection</a> side)</pre> +<div class="block">Currently only called by fire when it is on top of this block. + Returning true will prevent the fire from naturally dying during updating. + Also prevents firing from dying from rain.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>world</code> - The current world</dd><dd><code>x</code> - The blocks X position</dd><dd><code>y</code> - The blocks Y position</dd><dd><code>z</code> - The blocks Z position</dd><dd><code>metadata</code> - The blocks current metadata</dd><dd><code>side</code> - The face that the fire is coming from</dd> +<dt><span class="strong">Returns:</span></dt><dd>True if this block sustains fire, meaning it will never go out.</dd></dl> +</li> +</ul> +<a name="hasTileEntity(int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>hasTileEntity</h4> +<pre>public boolean hasTileEntity(int metadata)</pre> +<div class="block">Called throughout the code as a replacement for block instanceof BlockContainer + Moving this to the Block base class allows for mods that wish to extend vanilla + blocks, and also want to have a tile entity on that block, may. + + Return true from this function to specify this block has a tile entity.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>metadata</code> - Metadata of the current block</dd> +<dt><span class="strong">Returns:</span></dt><dd>True if block has a tile entity, false otherwise</dd></dl> +</li> +</ul> +<a name="createTileEntity(net.minecraft.world.World, int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>createTileEntity</h4> +<pre>public <a href="../../../net/minecraft/tileentity/TileEntity.html" title="class in net.minecraft.tileentity">TileEntity</a> createTileEntity(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> world, + int metadata)</pre> +<div class="block">Called throughout the code as a replacement for ITileEntityProvider.createNewTileEntity + Return the same thing you would from that function. + This will fall back to ITileEntityProvider.createNewTileEntity(World) if this block is a ITileEntityProvider</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>metadata</code> - The Metadata of the current block</dd> +<dt><span class="strong">Returns:</span></dt><dd>A instance of a class extending TileEntity</dd></dl> +</li> +</ul> +<a name="quantityDropped(int, int, java.util.Random)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>quantityDropped</h4> +<pre>public int quantityDropped(int meta, + int fortune, + java.util.Random random)</pre> +<div class="block">Metadata and fortune sensitive version, this replaces the old (int meta, Random rand) + version in 1.1.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>meta</code> - Blocks Metadata</dd><dd><code>fortune</code> - Current item fortune level</dd><dd><code>random</code> - Random number generator</dd> +<dt><span class="strong">Returns:</span></dt><dd>The number of items to drop</dd></dl> +</li> +</ul> +<a name="getDrops(net.minecraft.world.World, int, int, int, int, int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getDrops</h4> +<pre>public java.util.ArrayList<<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a>> getDrops(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> world, + int x, + int y, + int z, + int metadata, + int fortune)</pre> +<div class="block">This returns a complete list of items dropped from this block.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>world</code> - The current world</dd><dd><code>x</code> - X Position</dd><dd><code>y</code> - Y Position</dd><dd><code>z</code> - Z Position</dd><dd><code>metadata</code> - Current metadata</dd><dd><code>fortune</code> - Breakers fortune level</dd> +<dt><span class="strong">Returns:</span></dt><dd>A ArrayList containing all items this block drops</dd></dl> +</li> +</ul> +<a name="canSilkHarvest(net.minecraft.world.World, net.minecraft.entity.player.EntityPlayer, int, int, int, int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>canSilkHarvest</h4> +<pre>public boolean canSilkHarvest(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> world, + <a href="../../../net/minecraft/entity/player/EntityPlayer.html" title="class in net.minecraft.entity.player">EntityPlayer</a> player, + int x, + int y, + int z, + int metadata)</pre> +<div class="block">Return true from this function if the player with silk touch can harvest this block directly, and not it's normal drops.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>world</code> - The world</dd><dd><code>player</code> - The player doing the harvesting</dd><dd><code>x</code> - X Position</dd><dd><code>y</code> - Y Position</dd><dd><code>z</code> - Z Position</dd><dd><code>metadata</code> - The metadata</dd> +<dt><span class="strong">Returns:</span></dt><dd>True if the block can be directly harvested using silk touch</dd></dl> +</li> +</ul> +<a name="canCreatureSpawn(net.minecraft.entity.EnumCreatureType, net.minecraft.world.IBlockAccess, int, int, int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>canCreatureSpawn</h4> +<pre>public boolean canCreatureSpawn(<a href="../../../net/minecraft/entity/EnumCreatureType.html" title="enum in net.minecraft.entity">EnumCreatureType</a> type, + <a href="../../../net/minecraft/world/IBlockAccess.html" title="interface in net.minecraft.world">IBlockAccess</a> world, + int x, + int y, + int z)</pre> +<div class="block">Determines if a specified mob type can spawn on this block, returning false will + prevent any mob from spawning on the block.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>type</code> - The Mob Category Type</dd><dd><code>world</code> - The current world</dd><dd><code>x</code> - The X Position</dd><dd><code>y</code> - The Y Position</dd><dd><code>z</code> - The Z Position</dd> +<dt><span class="strong">Returns:</span></dt><dd>True to allow a mob of the specified category to spawn, false to prevent it.</dd></dl> +</li> +</ul> +<a name="isBed(net.minecraft.world.IBlockAccess, int, int, int, net.minecraft.entity.EntityLivingBase)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>isBed</h4> +<pre>public boolean isBed(<a href="../../../net/minecraft/world/IBlockAccess.html" title="interface in net.minecraft.world">IBlockAccess</a> world, + int x, + int y, + int z, + <a href="../../../net/minecraft/entity/EntityLivingBase.html" title="class in net.minecraft.entity">EntityLivingBase</a> player)</pre> +<div class="block">Determines if this block is classified as a Bed, Allowing + players to sleep in it, though the block has to specifically + perform the sleeping functionality in it's activated event.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>world</code> - The current world</dd><dd><code>x</code> - X Position</dd><dd><code>y</code> - Y Position</dd><dd><code>z</code> - Z Position</dd><dd><code>player</code> - The player or camera entity, null in some cases.</dd> +<dt><span class="strong">Returns:</span></dt><dd>True to treat this as a bed</dd></dl> +</li> +</ul> +<a name="getBedSpawnPosition(net.minecraft.world.IBlockAccess, int, int, int, net.minecraft.entity.player.EntityPlayer)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getBedSpawnPosition</h4> +<pre>public <a href="../../../net/minecraft/util/ChunkCoordinates.html" title="class in net.minecraft.util">ChunkCoordinates</a> getBedSpawnPosition(<a href="../../../net/minecraft/world/IBlockAccess.html" title="interface in net.minecraft.world">IBlockAccess</a> world, + int x, + int y, + int z, + <a href="../../../net/minecraft/entity/player/EntityPlayer.html" title="class in net.minecraft.entity.player">EntityPlayer</a> player)</pre> +<div class="block">Returns the position that the player is moved to upon + waking up, or respawning at the bed.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>world</code> - The current world</dd><dd><code>x</code> - X Position</dd><dd><code>y</code> - Y Position</dd><dd><code>z</code> - Z Position</dd><dd><code>player</code> - The player or camera entity, null in some cases.</dd> +<dt><span class="strong">Returns:</span></dt><dd>The spawn position</dd></dl> +</li> +</ul> +<a name="setBedOccupied(net.minecraft.world.IBlockAccess, int, int, int, net.minecraft.entity.player.EntityPlayer, boolean)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setBedOccupied</h4> +<pre>public void setBedOccupied(<a href="../../../net/minecraft/world/IBlockAccess.html" title="interface in net.minecraft.world">IBlockAccess</a> world, + int x, + int y, + int z, + <a href="../../../net/minecraft/entity/player/EntityPlayer.html" title="class in net.minecraft.entity.player">EntityPlayer</a> player, + boolean occupied)</pre> +<div class="block">Called when a user either starts or stops sleeping in the bed.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>world</code> - The current world</dd><dd><code>x</code> - X Position</dd><dd><code>y</code> - Y Position</dd><dd><code>z</code> - Z Position</dd><dd><code>player</code> - The player or camera entity, null in some cases.</dd><dd><code>occupied</code> - True if we are occupying the bed, or false if they are stopping use of the bed</dd></dl> +</li> +</ul> +<a name="getBedDirection(net.minecraft.world.IBlockAccess, int, int, int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getBedDirection</h4> +<pre>public int getBedDirection(<a href="../../../net/minecraft/world/IBlockAccess.html" title="interface in net.minecraft.world">IBlockAccess</a> world, + int x, + int y, + int z)</pre> +<div class="block">Returns the direction of the block. Same values that + are returned by BlockDirectional</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>world</code> - The current world</dd><dd><code>x</code> - X Position</dd><dd><code>y</code> - Y Position</dd><dd><code>z</code> - Z Position</dd> +<dt><span class="strong">Returns:</span></dt><dd>Bed direction</dd></dl> +</li> +</ul> +<a name="isBedFoot(net.minecraft.world.IBlockAccess, int, int, int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>isBedFoot</h4> +<pre>public boolean isBedFoot(<a href="../../../net/minecraft/world/IBlockAccess.html" title="interface in net.minecraft.world">IBlockAccess</a> world, + int x, + int y, + int z)</pre> +<div class="block">Determines if the current block is the foot half of the bed.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>world</code> - The current world</dd><dd><code>x</code> - X Position</dd><dd><code>y</code> - Y Position</dd><dd><code>z</code> - Z Position</dd> +<dt><span class="strong">Returns:</span></dt><dd>True if the current block is the foot side of a bed.</dd></dl> +</li> +</ul> +<a name="beginLeavesDecay(net.minecraft.world.World, int, int, int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>beginLeavesDecay</h4> +<pre>public void beginLeavesDecay(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> world, + int x, + int y, + int z)</pre> +<div class="block">Called when a leaf should start its decay process.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>world</code> - The current world</dd><dd><code>x</code> - X Position</dd><dd><code>y</code> - Y Position</dd><dd><code>z</code> - Z Position</dd></dl> +</li> +</ul> +<a name="canSustainLeaves(net.minecraft.world.IBlockAccess, int, int, int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>canSustainLeaves</h4> +<pre>public boolean canSustainLeaves(<a href="../../../net/minecraft/world/IBlockAccess.html" title="interface in net.minecraft.world">IBlockAccess</a> world, + int x, + int y, + int z)</pre> +<div class="block">Determines if this block can prevent leaves connected to it from decaying.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>world</code> - The current world</dd><dd><code>x</code> - X Position</dd><dd><code>y</code> - Y Position</dd><dd><code>z</code> - Z Position</dd> +<dt><span class="strong">Returns:</span></dt><dd>true if the presence this block can prevent leaves from decaying.</dd></dl> +</li> +</ul> +<a name="isLeaves(net.minecraft.world.IBlockAccess, int, int, int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>isLeaves</h4> +<pre>public boolean isLeaves(<a href="../../../net/minecraft/world/IBlockAccess.html" title="interface in net.minecraft.world">IBlockAccess</a> world, + int x, + int y, + int z)</pre> +<div class="block">Determines if this block is considered a leaf block, used to apply the leaf decay and generation system.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>world</code> - The current world</dd><dd><code>x</code> - X Position</dd><dd><code>y</code> - Y Position</dd><dd><code>z</code> - Z Position</dd> +<dt><span class="strong">Returns:</span></dt><dd>true if this block is considered leaves.</dd></dl> +</li> +</ul> +<a name="canBeReplacedByLeaves(net.minecraft.world.IBlockAccess, int, int, int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>canBeReplacedByLeaves</h4> +<pre>public boolean canBeReplacedByLeaves(<a href="../../../net/minecraft/world/IBlockAccess.html" title="interface in net.minecraft.world">IBlockAccess</a> world, + int x, + int y, + int z)</pre> +<div class="block">Used during tree growth to determine if newly generated leaves can replace this block.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>world</code> - The current world</dd><dd><code>x</code> - X Position</dd><dd><code>y</code> - Y Position</dd><dd><code>z</code> - Z Position</dd> +<dt><span class="strong">Returns:</span></dt><dd>true if this block can be replaced by growing leaves.</dd></dl> +</li> +</ul> +<a name="isWood(net.minecraft.world.IBlockAccess, int, int, int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>isWood</h4> +<pre>public boolean isWood(<a href="../../../net/minecraft/world/IBlockAccess.html" title="interface in net.minecraft.world">IBlockAccess</a> world, + int x, + int y, + int z)</pre> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>world</code> - The current world</dd><dd><code>x</code> - X Position</dd><dd><code>y</code> - Y Position</dd><dd><code>z</code> - Z Position</dd> +<dt><span class="strong">Returns:</span></dt><dd>true if the block is wood (logs)</dd></dl> +</li> +</ul> +<a name="isReplaceableOreGen(net.minecraft.world.World, int, int, int, net.minecraft.block.Block)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>isReplaceableOreGen</h4> +<pre>public boolean isReplaceableOreGen(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> world, + int x, + int y, + int z, + <a href="../../../net/minecraft/block/Block.html" title="class in net.minecraft.block">Block</a> target)</pre> +<div class="block">Determines if the current block is replaceable by Ore veins during world generation.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>world</code> - The current world</dd><dd><code>x</code> - X Position</dd><dd><code>y</code> - Y Position</dd><dd><code>z</code> - Z Position</dd><dd><code>target</code> - The generic target block the gen is looking for, Standards define stone + for overworld generation, and neatherack for the nether.</dd> +<dt><span class="strong">Returns:</span></dt><dd>True to allow this block to be replaced by a ore</dd></dl> +</li> +</ul> +<a name="getExplosionResistance(net.minecraft.entity.Entity, net.minecraft.world.World, int, int, int, double, double, double)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getExplosionResistance</h4> +<pre>public float getExplosionResistance(<a href="../../../net/minecraft/entity/Entity.html" title="class in net.minecraft.entity">Entity</a> par1Entity, + <a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> world, + int x, + int y, + int z, + double explosionX, + double explosionY, + double explosionZ)</pre> +<div class="block">Location sensitive version of getExplosionRestance</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>par1Entity</code> - The entity that caused the explosion</dd><dd><code>world</code> - The current world</dd><dd><code>x</code> - X Position</dd><dd><code>y</code> - Y Position</dd><dd><code>z</code> - Z Position</dd><dd><code>explosionX</code> - Explosion source X Position</dd><dd><code>explosionY</code> - Explosion source X Position</dd><dd><code>explosionZ</code> - Explosion source X Position</dd> +<dt><span class="strong">Returns:</span></dt><dd>The amount of the explosion absorbed.</dd></dl> +</li> +</ul> +<a name="onBlockExploded(net.minecraft.world.World, int, int, int, net.minecraft.world.Explosion)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>onBlockExploded</h4> +<pre>public void onBlockExploded(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> world, + int x, + int y, + int z, + <a href="../../../net/minecraft/world/Explosion.html" title="class in net.minecraft.world">Explosion</a> explosion)</pre> +<div class="block">Called when the block is destroyed by an explosion. + Useful for allowing the block to take into account tile entities, + metadata, etc. when exploded, before it is removed.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>world</code> - The current world</dd><dd><code>x</code> - X Position</dd><dd><code>y</code> - Y Position</dd><dd><code>z</code> - Z Position</dd><dd><code>Explosion</code> - The explosion instance affecting the block</dd></dl> +</li> +</ul> +<a name="canConnectRedstone(net.minecraft.world.IBlockAccess, int, int, int, int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>canConnectRedstone</h4> +<pre>public boolean canConnectRedstone(<a href="../../../net/minecraft/world/IBlockAccess.html" title="interface in net.minecraft.world">IBlockAccess</a> world, + int x, + int y, + int z, + int side)</pre> +<div class="block">Determine if this block can make a redstone connection on the side provided, + Useful to control which sides are inputs and outputs for redstone wires. + + Side: + -1: UP + 0: NORTH + 1: EAST + 2: SOUTH + 3: WEST</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>world</code> - The current world</dd><dd><code>x</code> - X Position</dd><dd><code>y</code> - Y Position</dd><dd><code>z</code> - Z Position</dd><dd><code>side</code> - The side that is trying to make the connection</dd> +<dt><span class="strong">Returns:</span></dt><dd>True to make the connection</dd></dl> +</li> +</ul> +<a name="canPlaceTorchOnTop(net.minecraft.world.World, int, int, int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>canPlaceTorchOnTop</h4> +<pre>public boolean canPlaceTorchOnTop(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> world, + int x, + int y, + int z)</pre> +<div class="block">Determines if a torch can be placed on the top surface of this block. + Useful for creating your own block that torches can be on, such as fences.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>world</code> - The current world</dd><dd><code>x</code> - X Position</dd><dd><code>y</code> - Y Position</dd><dd><code>z</code> - Z Position</dd> +<dt><span class="strong">Returns:</span></dt><dd>True to allow the torch to be placed</dd></dl> +</li> +</ul> +<a name="canRenderInPass(int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>canRenderInPass</h4> +<pre>public boolean canRenderInPass(int pass)</pre> +<div class="block">Determines if this block should render in this pass.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>pass</code> - The pass in question</dd> +<dt><span class="strong">Returns:</span></dt><dd>True to render</dd></dl> +</li> +</ul> +<a name="getPickBlock(net.minecraft.util.MovingObjectPosition, net.minecraft.world.World, int, int, int, net.minecraft.entity.player.EntityPlayer)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getPickBlock</h4> +<pre>public <a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> getPickBlock(<a href="../../../net/minecraft/util/MovingObjectPosition.html" title="class in net.minecraft.util">MovingObjectPosition</a> target, + <a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> world, + int x, + int y, + int z, + <a href="../../../net/minecraft/entity/player/EntityPlayer.html" title="class in net.minecraft.entity.player">EntityPlayer</a> player)</pre> +<div class="block">Called when a user uses the creative pick block button on this block</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>target</code> - The full target the player is looking at</dd> +<dt><span class="strong">Returns:</span></dt><dd>A ItemStack to add to the player's inventory, Null if nothing should be added.</dd></dl> +</li> +</ul> +<a name="getPickBlock(net.minecraft.util.MovingObjectPosition, net.minecraft.world.World, int, int, int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getPickBlock</h4> +<pre>@Deprecated +public <a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> getPickBlock(<a href="../../../net/minecraft/util/MovingObjectPosition.html" title="class in net.minecraft.util">MovingObjectPosition</a> target, + <a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> world, + int x, + int y, + int z)</pre> +<div class="block"><span class="strong">Deprecated.</span> </div> +</li> +</ul> +<a name="isFoliage(net.minecraft.world.IBlockAccess, int, int, int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>isFoliage</h4> +<pre>public boolean isFoliage(<a href="../../../net/minecraft/world/IBlockAccess.html" title="interface in net.minecraft.world">IBlockAccess</a> world, + int x, + int y, + int z)</pre> +<div class="block">Used by getTopSolidOrLiquidBlock while placing biome decorations, villages, etc + Also used to determine if the player can spawn on this block.</div> +<dl><dt><span class="strong">Returns:</span></dt><dd>False to disallow spawning</dd></dl> +</li> +</ul> +<a name="addHitEffects(net.minecraft.world.World, net.minecraft.util.MovingObjectPosition, net.minecraft.client.particle.EffectRenderer)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>addHitEffects</h4> +<pre>public boolean addHitEffects(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> worldObj, + <a href="../../../net/minecraft/util/MovingObjectPosition.html" title="class in net.minecraft.util">MovingObjectPosition</a> target, + <a href="../../../net/minecraft/client/particle/EffectRenderer.html" title="class in net.minecraft.client.particle">EffectRenderer</a> effectRenderer)</pre> +<div class="block">Spawn a digging particle effect in the world, this is a wrapper + around EffectRenderer.addBlockHitEffects to allow the block more + control over the particles. Useful when you have entirely different + texture sheets for different sides/locations in the world.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>world</code> - The current world</dd><dd><code>target</code> - The target the player is looking at {x/y/z/side/sub}</dd><dd><code>effectRenderer</code> - A reference to the current effect renderer.</dd> +<dt><span class="strong">Returns:</span></dt><dd>True to prevent vanilla digging particles form spawning.</dd></dl> +</li> +</ul> +<a name="addDestroyEffects(net.minecraft.world.World, int, int, int, int, net.minecraft.client.particle.EffectRenderer)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>addDestroyEffects</h4> +<pre>public boolean addDestroyEffects(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> world, + int x, + int y, + int z, + int meta, + <a href="../../../net/minecraft/client/particle/EffectRenderer.html" title="class in net.minecraft.client.particle">EffectRenderer</a> effectRenderer)</pre> +<div class="block">Spawn particles for when the block is destroyed. Due to the nature + of how this is invoked, the x/y/z locations are not always guaranteed + to host your block. So be sure to do proper sanity checks before assuming + that the location is this block.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>world</code> - The current world</dd><dd><code>x</code> - X position to spawn the particle</dd><dd><code>y</code> - Y position to spawn the particle</dd><dd><code>z</code> - Z position to spawn the particle</dd><dd><code>meta</code> - The metadata for the block before it was destroyed.</dd><dd><code>effectRenderer</code> - A reference to the current effect renderer.</dd> +<dt><span class="strong">Returns:</span></dt><dd>True to prevent vanilla break particles from spawning.</dd></dl> +</li> +</ul> +<a name="canSustainPlant(net.minecraft.world.IBlockAccess, int, int, int, net.minecraftforge.common.util.ForgeDirection, net.minecraftforge.common.IPlantable)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>canSustainPlant</h4> +<pre>public boolean canSustainPlant(<a href="../../../net/minecraft/world/IBlockAccess.html" title="interface in net.minecraft.world">IBlockAccess</a> world, + int x, + int y, + int z, + <a href="../../../net/minecraftforge/common/util/ForgeDirection.html" title="enum in net.minecraftforge.common.util">ForgeDirection</a> direction, + <a href="../../../net/minecraftforge/common/IPlantable.html" title="interface in net.minecraftforge.common">IPlantable</a> plantable)</pre> +<div class="block">Determines if this block can support the passed in plant, allowing it to be planted and grow. + Some examples: + Reeds check if its a reed, or if its sand/dirt/grass and adjacent to water + Cacti checks if its a cacti, or if its sand + Nether types check for soul sand + Crops check for tilled soil + Caves check if it's a solid surface + Plains check if its grass or dirt + Water check if its still water</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>world</code> - The current world</dd><dd><code>x</code> - X Position</dd><dd><code>y</code> - Y Position</dd><dd><code>z</code> - Z position</dd><dd><code>direction</code> - The direction relative to the given position the plant wants to be, typically its UP</dd><dd><code>plantable</code> - The plant that wants to check</dd> +<dt><span class="strong">Returns:</span></dt><dd>True to allow the plant to be planted/stay.</dd></dl> +</li> +</ul> +<a name="onPlantGrow(net.minecraft.world.World, int, int, int, int, int, int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>onPlantGrow</h4> +<pre>public void onPlantGrow(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> world, + int x, + int y, + int z, + int sourceX, + int sourceY, + int sourceZ)</pre> +<div class="block">Called when a plant grows on this block, only implemented for saplings using the WorldGen*Trees classes right now. + Modder may implement this for custom plants. + This does not use ForgeDirection, because large/huge trees can be located in non-representable direction, + so the source location is specified. + Currently this just changes the block to dirt if it was grass. + + Note: This happens DURING the generation, the generation may not be complete when this is called.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>world</code> - Current world</dd><dd><code>x</code> - Soil X</dd><dd><code>y</code> - Soil Y</dd><dd><code>z</code> - Soil Z</dd><dd><code>sourceX</code> - Plant growth location X</dd><dd><code>sourceY</code> - Plant growth location Y</dd><dd><code>sourceZ</code> - Plant growth location Z</dd></dl> +</li> +</ul> +<a name="isFertile(net.minecraft.world.World, int, int, int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>isFertile</h4> +<pre>public boolean isFertile(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> world, + int x, + int y, + int z)</pre> +<div class="block">Checks if this soil is fertile, typically this means that growth rates + of plants on this soil will be slightly sped up. + Only vanilla case is tilledField when it is within range of water.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>world</code> - The current world</dd><dd><code>x</code> - X Position</dd><dd><code>y</code> - Y Position</dd><dd><code>z</code> - Z position</dd> +<dt><span class="strong">Returns:</span></dt><dd>True if the soil should be considered fertile.</dd></dl> +</li> +</ul> +<a name="getLightOpacity(net.minecraft.world.IBlockAccess, int, int, int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getLightOpacity</h4> +<pre>public int getLightOpacity(<a href="../../../net/minecraft/world/IBlockAccess.html" title="interface in net.minecraft.world">IBlockAccess</a> world, + int x, + int y, + int z)</pre> +<div class="block">Location aware and overrideable version of the lightOpacity array, + return the number to subtract from the light value when it passes through this block. + + This is not guaranteed to have the tile entity in place before this is called, so it is + Recommended that you have your tile entity call relight after being placed if you + rely on it for light info.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>world</code> - The current world</dd><dd><code>x</code> - X Position</dd><dd><code>y</code> - Y Position</dd><dd><code>z</code> - Z position</dd> +<dt><span class="strong">Returns:</span></dt><dd>The amount of light to block, 0 for air, 255 for fully opaque.</dd></dl> +</li> +</ul> +<a name="canEntityDestroy(net.minecraft.world.IBlockAccess, int, int, int, net.minecraft.entity.Entity)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>canEntityDestroy</h4> +<pre>public boolean canEntityDestroy(<a href="../../../net/minecraft/world/IBlockAccess.html" title="interface in net.minecraft.world">IBlockAccess</a> world, + int x, + int y, + int z, + <a href="../../../net/minecraft/entity/Entity.html" title="class in net.minecraft.entity">Entity</a> entity)</pre> +<div class="block">Determines if this block is can be destroyed by the specified entities normal behavior.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>world</code> - The current world</dd><dd><code>x</code> - X Position</dd><dd><code>y</code> - Y Position</dd><dd><code>z</code> - Z position</dd> +<dt><span class="strong">Returns:</span></dt><dd>True to allow the ender dragon to destroy this block</dd></dl> +</li> +</ul> +<a name="isBeaconBase(net.minecraft.world.IBlockAccess, int, int, int, int, int, int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>isBeaconBase</h4> +<pre>public boolean isBeaconBase(<a href="../../../net/minecraft/world/IBlockAccess.html" title="interface in net.minecraft.world">IBlockAccess</a> worldObj, + int x, + int y, + int z, + int beaconX, + int beaconY, + int beaconZ)</pre> +<div class="block">Determines if this block can be used as the base of a beacon.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>world</code> - The current world</dd><dd><code>x</code> - X Position</dd><dd><code>y</code> - Y Position</dd><dd><code>z</code> - Z position</dd><dd><code>beaconX</code> - Beacons X Position</dd><dd><code>beaconY</code> - Beacons Y Position</dd><dd><code>beaconZ</code> - Beacons Z Position</dd> +<dt><span class="strong">Returns:</span></dt><dd>True, to support the beacon, and make it active with this block.</dd></dl> +</li> +</ul> +<a name="rotateBlock(net.minecraft.world.World, int, int, int, net.minecraftforge.common.util.ForgeDirection)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>rotateBlock</h4> +<pre>public boolean rotateBlock(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> worldObj, + int x, + int y, + int z, + <a href="../../../net/minecraftforge/common/util/ForgeDirection.html" title="enum in net.minecraftforge.common.util">ForgeDirection</a> axis)</pre> +<div class="block">Rotate the block. For vanilla blocks this rotates around the axis passed in (generally, it should be the "face" that was hit). + Note: for mod blocks, this is up to the block and modder to decide. It is not mandated that it be a rotation around the + face, but could be a rotation to orient *to* that face, or a visiting of possible rotations. + The method should return true if the rotation was successful though.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>worldObj</code> - The world</dd><dd><code>x</code> - X position</dd><dd><code>y</code> - Y position</dd><dd><code>z</code> - Z position</dd><dd><code>axis</code> - The axis to rotate around</dd> +<dt><span class="strong">Returns:</span></dt><dd>True if the rotation was successful, False if the rotation failed, or is not possible</dd></dl> +</li> +</ul> +<a name="getValidRotations(net.minecraft.world.World, int, int, int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getValidRotations</h4> +<pre>public <a href="../../../net/minecraftforge/common/util/ForgeDirection.html" title="enum in net.minecraftforge.common.util">ForgeDirection</a>[] getValidRotations(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> worldObj, + int x, + int y, + int z)</pre> +<div class="block">Get the rotations that can apply to the block at the specified coordinates. Null means no rotations are possible. + Note, this is up to the block to decide. It may not be accurate or representative.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>worldObj</code> - The world</dd><dd><code>x</code> - X position</dd><dd><code>y</code> - Y position</dd><dd><code>z</code> - Z position</dd> +<dt><span class="strong">Returns:</span></dt><dd>An array of valid axes to rotate around, or null for none or unknown</dd></dl> +</li> +</ul> +<a name="getEnchantPowerBonus(net.minecraft.world.World, int, int, int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getEnchantPowerBonus</h4> +<pre>public float getEnchantPowerBonus(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> world, + int x, + int y, + int z)</pre> +<div class="block">Determines the amount of enchanting power this block can provide to an enchanting table.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>world</code> - The World</dd><dd><code>x</code> - X position</dd><dd><code>y</code> - Y position</dd><dd><code>z</code> - Z position</dd> +<dt><span class="strong">Returns:</span></dt><dd>The amount of enchanting power this block produces.</dd></dl> +</li> +</ul> +<a name="recolourBlock(net.minecraft.world.World, int, int, int, net.minecraftforge.common.util.ForgeDirection, int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>recolourBlock</h4> +<pre>public boolean recolourBlock(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> world, + int x, + int y, + int z, + <a href="../../../net/minecraftforge/common/util/ForgeDirection.html" title="enum in net.minecraftforge.common.util">ForgeDirection</a> side, + int colour)</pre> +<div class="block">Common way to recolour a block with an external tool</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>world</code> - The world</dd><dd><code>x</code> - X</dd><dd><code>y</code> - Y</dd><dd><code>z</code> - Z</dd><dd><code>side</code> - The side hit with the colouring tool</dd><dd><code>colour</code> - The colour to change to</dd> +<dt><span class="strong">Returns:</span></dt><dd>If the recolouring was successful</dd></dl> +</li> +</ul> +<a name="getExpDrop(net.minecraft.world.IBlockAccess, int, int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getExpDrop</h4> +<pre>public int getExpDrop(<a href="../../../net/minecraft/world/IBlockAccess.html" title="interface in net.minecraft.world">IBlockAccess</a> world, + int metadata, + int fortune)</pre> +<div class="block">Gathers how much experience this block drops when broken.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>world</code> - The world</dd><dd><code>metadata</code> - </dd><dd><code>fortune</code> - </dd> +<dt><span class="strong">Returns:</span></dt><dd>Amount of XP from breaking this block.</dd></dl> +</li> +</ul> +<a name="onNeighborChange(net.minecraft.world.IBlockAccess, int, int, int, int, int, int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>onNeighborChange</h4> +<pre>public void onNeighborChange(<a href="../../../net/minecraft/world/IBlockAccess.html" title="interface in net.minecraft.world">IBlockAccess</a> world, + int x, + int y, + int z, + int tileX, + int tileY, + int tileZ)</pre> +<div class="block">Called when a tile entity on a side of this block changes is created or is destroyed.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>world</code> - The world</dd><dd><code>x</code> - The x position of this block instance</dd><dd><code>y</code> - The y position of this block instance</dd><dd><code>z</code> - The z position of this block instance</dd><dd><code>tileX</code> - The x position of the tile that changed</dd><dd><code>tileY</code> - The y position of the tile that changed</dd><dd><code>tileZ</code> - The z position of the tile that changed</dd></dl> +</li> +</ul> +<a name="shouldCheckWeakPower(net.minecraft.world.IBlockAccess, int, int, int, int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>shouldCheckWeakPower</h4> +<pre>public boolean shouldCheckWeakPower(<a href="../../../net/minecraft/world/IBlockAccess.html" title="interface in net.minecraft.world">IBlockAccess</a> world, + int x, + int y, + int z, + int side)</pre> +<div class="block">Called to determine whether to allow the a block to handle its own indirect power rather than using the default rules.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>world</code> - The world</dd><dd><code>x</code> - The x position of this block instance</dd><dd><code>y</code> - The y position of this block instance</dd><dd><code>z</code> - The z position of this block instance</dd><dd><code>side</code> - The INPUT side of the block to be powered - ie the opposite of this block's output side</dd> +<dt><span class="strong">Returns:</span></dt><dd>Whether Block#isProvidingWeakPower should be called when determining indirect power</dd></dl> +</li> +</ul> +<a name="getWeakChanges(net.minecraft.world.IBlockAccess, int, int, int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getWeakChanges</h4> +<pre>public boolean getWeakChanges(<a href="../../../net/minecraft/world/IBlockAccess.html" title="interface in net.minecraft.world">IBlockAccess</a> world, + int x, + int y, + int z)</pre> +<div class="block">If this block should be notified of weak changes. + Weak changes are changes 1 block away through a solid block. + Similar to comparators.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>world</code> - The current world</dd><dd><code>x</code> - X Position</dd><dd><code>y</code> - Y position</dd><dd><code>z</code> - Z position</dd><dd><code>side</code> - The side to check</dd> +<dt><span class="strong">Returns:</span></dt><dd>true To be notified of changes</dd></dl> +</li> +</ul> +<a name="setHarvestLevel(java.lang.String, int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setHarvestLevel</h4> +<pre>public void setHarvestLevel(java.lang.String toolClass, + int level)</pre> +<div class="block">Sets or removes the tool and level required to harvest this block.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>toolClass</code> - Class</dd><dd><code>level</code> - Harvest level: + Wood: 0 + Stone: 1 + Iron: 2 + Diamond: 3 + Gold: 0</dd></dl> +</li> +</ul> +<a name="setHarvestLevel(java.lang.String, int, int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setHarvestLevel</h4> +<pre>public void setHarvestLevel(java.lang.String toolClass, + int level, + int metadata)</pre> +<div class="block">Sets or removes the tool and level required to harvest this block.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>toolClass</code> - Class</dd><dd><code>level</code> - Harvest level: + Wood: 0 + Stone: 1 + Iron: 2 + Diamond: 3 + Gold: 0</dd><dd><code>metadata</code> - The specific metadata to set</dd></dl> +</li> +</ul> +<a name="getHarvestTool(int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getHarvestTool</h4> +<pre>public java.lang.String getHarvestTool(int metadata)</pre> +<div class="block">Queries the class of tool required to harvest this block, if null is returned + we assume that anything can harvest this block.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>metadata</code> - </dd> +<dt><span class="strong">Returns:</span></dt><dd></dd></dl> +</li> +</ul> +<a name="getHarvestLevel(int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getHarvestLevel</h4> +<pre>public int getHarvestLevel(int metadata)</pre> +<div class="block">Queries the harvest level of this item stack for the specifred tool class, + Returns -1 if this tool is not of the specified type</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>stack</code> - This item stack instance</dd> +<dt><span class="strong">Returns:</span></dt><dd>Harvest level, or -1 if not the specified tool type.</dd></dl> +</li> +</ul> +<a name="isToolEffective(java.lang.String, int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>isToolEffective</h4> +<pre>public boolean isToolEffective(java.lang.String type, + int metadata)</pre> +<div class="block">Checks if the specified tool type is efficient on this block, + meaning that it digs at full speed.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>type</code> - </dd><dd><code>metadata</code> - </dd> +<dt><span class="strong">Returns:</span></dt><dd></dd></dl> +</li> +</ul> +<a name="captureDrops(boolean)"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>captureDrops</h4> +<pre>protected java.util.List<<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a>> captureDrops(boolean start)</pre> +</li> +</ul> +</li> +</ul> +</li> +</ul> +</div> +</div> +<!-- ========= END OF CLASS DATA ========= --> +<!-- ======= START OF BOTTOM NAVBAR ====== --> +<div class="bottomNav"><a name="navbar_bottom"> +<!-- --> +</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../overview-summary.html">Overview</a></li> +<li><a href="package-summary.html">Package</a></li> +<li class="navBarCell1Rev">Class</li> +<li><a href="package-tree.html">Tree</a></li> +<li><a href="../../../deprecated-list.html">Deprecated</a></li> +<li><a href="../../../index-all.html">Index</a></li> +<li><a href="../../../help-doc.html">Help</a></li> +</ul> +</div> +<div class="subNav"> +<ul class="navList"> +<li>Prev Class</li> +<li><a href="../../../net/minecraft/block/Block.SoundType.html" title="class in net.minecraft.block"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../index.html?net/minecraft/block/Block.html" target="_top">Frames</a></li> +<li><a href="Block.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_bottom"> +<li><a href="../../../allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_bottom"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +</div> +<div> +<ul class="subNavList"> +<li>Summary: </li> +<li><a href="#nested_class_summary">Nested</a> | </li> +<li><a href="#field_summary">Field</a> | </li> +<li><a href="#constructor_summary">Constr</a> | </li> +<li><a href="#method_summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li><a href="#field_detail">Field</a> | </li> +<li><a href="#constructor_detail">Constr</a> | </li> +<li><a href="#method_detail">Method</a></li> +</ul> +</div> +<a name="skip-navbar_bottom"> +<!-- --> +</a></div> +<!-- ======== END OF BOTTOM NAVBAR ======= --> +</body> +</html> |
