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

37 lines
1.2 KiB
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.Blocks;
import net.minecraft.world.level.block.GrowingPlantBodyBlock;
import net.minecraft.world.level.block.GrowingPlantHeadBlock;
import net.minecraft.world.level.block.state.BlockBehaviour;
import net.minecraft.world.phys.shapes.VoxelShape;
public class WeepingVinesPlantBlock
extends GrowingPlantBodyBlock {
public static final MapCodec<WeepingVinesPlantBlock> CODEC = WeepingVinesPlantBlock.simpleCodec(WeepingVinesPlantBlock::new);
private static final VoxelShape SHAPE = Block.column(14.0, 0.0, 16.0);
public MapCodec<WeepingVinesPlantBlock> codec() {
return CODEC;
}
public WeepingVinesPlantBlock(BlockBehaviour.Properties properties) {
super(properties, Direction.DOWN, SHAPE, false);
}
@Override
protected GrowingPlantHeadBlock getHeadBlock() {
return (GrowingPlantHeadBlock)Blocks.WEEPING_VINES;
}
}