28 lines
1.2 KiB
Diff
28 lines
1.2 KiB
Diff
--- a/net/minecraft/block/state/IBlockState.java
|
|
+++ b/net/minecraft/block/state/IBlockState.java
|
|
@@ -30,7 +30,7 @@
|
|
import net.minecraftforge.api.distmarker.Dist;
|
|
import net.minecraftforge.api.distmarker.OnlyIn;
|
|
|
|
-public interface IBlockState extends IStateHolder<IBlockState> {
|
|
+public interface IBlockState extends IStateHolder<IBlockState>, net.minecraftforge.common.extensions.IForgeBlockState {
|
|
ThreadLocal<Object2ByteMap<IBlockState>> field_208776_a = ThreadLocal.withInitial(() -> {
|
|
Object2ByteOpenHashMap<IBlockState> object2byteopenhashmap = new Object2ByteOpenHashMap<>();
|
|
object2byteopenhashmap.defaultReturnValue((byte)127);
|
|
@@ -97,6 +97,7 @@
|
|
return this.func_177230_c().func_149750_m(this);
|
|
}
|
|
|
|
+ @Deprecated //Forge: Use position sensitive version
|
|
default boolean func_196958_f() {
|
|
return this.func_177230_c().func_196261_e(this);
|
|
}
|
|
@@ -109,6 +110,7 @@
|
|
return this.func_177230_c().func_180659_g(this, p_185909_1_, p_185909_2_);
|
|
}
|
|
|
|
+ @Deprecated //Forge: Use position sensitive version
|
|
default IBlockState func_185907_a(Rotation p_185907_1_) {
|
|
return this.func_177230_c().func_185499_a(this, p_185907_1_);
|
|
}
|