2025-11-24 22:52:51 +03:00

27 lines
816 B
Java

/*
* Decompiled with CFR 0.152.
*
* Could not load the following classes:
* com.mojang.serialization.MapCodec
*/
package net.minecraft.world.level.block;
import com.mojang.serialization.MapCodec;
import net.minecraft.core.Direction;
import net.minecraft.world.level.block.Block;
import net.minecraft.world.level.block.state.BlockBehaviour;
import net.minecraft.world.level.block.state.properties.BlockStateProperties;
import net.minecraft.world.level.block.state.properties.EnumProperty;
public abstract class DirectionalBlock
extends Block {
public static final EnumProperty<Direction> FACING = BlockStateProperties.FACING;
protected DirectionalBlock(BlockBehaviour.Properties properties) {
super(properties);
}
protected abstract MapCodec<? extends DirectionalBlock> codec();
}