mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-21 04:32:15 +00:00
* ForgeGradle 6, Gradle 8.4, ASM 9.6 * Apply official mappings to patches (still using MCP classnames) * Remove reference to SpecialSource in reobfJar-like tasks * Backport modern MDK * Rename TransformationMatrix methods to prevent reobf, add back vanilla name via coremod
12 lines
631 B
Diff
12 lines
631 B
Diff
--- a/net/minecraft/block/BlockState.java
|
|
+++ b/net/minecraft/block/BlockState.java
|
|
@@ -6,7 +_,7 @@
|
|
import net.minecraft.state.Property;
|
|
import net.minecraft.util.registry.Registry;
|
|
|
|
-public class BlockState extends AbstractBlock.AbstractBlockState {
|
|
+public class BlockState extends AbstractBlock.AbstractBlockState implements net.minecraftforge.common.extensions.IForgeBlockState {
|
|
public static final Codec<BlockState> CODEC = codec(Registry.BLOCK, Block::defaultBlockState).stable();
|
|
|
|
public BlockState(Block p_i231876_1_, ImmutableMap<Property<?>, Comparable<?>> p_i231876_2_, MapCodec<BlockState> p_i231876_3_) {
|