mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-16 18:45:09 +00:00
Killed a few hundred compile errors.
This commit is contained in:
1 parent
9cf0a5b68b
commit
439dbd8bb3
24 files changed
+347
-177
No files matched your search
@@ -0,0 +1,26 @@
|
||||
package net.minecraftforge.common;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
|
||||
public class BlockExtension
|
||||
{
|
||||
/**
|
||||
* The Block that this extension object is associated with
|
||||
*/
|
||||
public final Block owner;
|
||||
|
||||
/**
|
||||
* Determines wither or not a enderman can pickup and move this block.
|
||||
*/
|
||||
public boolean carriable = false;
|
||||
|
||||
public BlockExtension(Block owner)
|
||||
{
|
||||
if (MinecraftForge.getBlockExtension(owner, false) != null)
|
||||
{
|
||||
throw new IllegalArgumentException(owner + " already has an extension object allocated");
|
||||
}
|
||||
|
||||
this.owner = owner;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user