ActuallyAdditions/src/main/java/de/ellpeck/actuallyadditions/mod/blocks/base/BlockBushBase.java

29 lines
884 B
Java
Raw Normal View History

/*
2016-05-16 22:52:27 +02:00
* This file ("BlockBushBase.java") is part of the Actually Additions mod for Minecraft.
* It is created and owned by Ellpeck and distributed
* under the Actually Additions License to be found at
2016-05-16 22:52:27 +02:00
* http://ellpeck.de/actaddlicense
* View the source code at https://github.com/Ellpeck/ActuallyAdditions
*
2017-01-01 16:23:26 +01:00
* © 2015-2017 Ellpeck
*/
2016-01-05 04:47:35 +01:00
package de.ellpeck.actuallyadditions.mod.blocks.base;
2024-03-04 20:21:48 +01:00
import com.mojang.serialization.MapCodec;
2024-03-02 21:23:08 +01:00
import net.minecraft.world.level.block.BushBlock;
import net.minecraft.world.level.block.SoundType;
2021-02-26 22:15:48 +01:00
public class BlockBushBase extends BushBlock {
2024-03-04 20:21:48 +01:00
public static final MapCodec<BlockBushBase> CODEC = simpleCodec(BlockBushBase::new);
public BlockBushBase(Properties properties) {
super(properties.sound(SoundType.GRASS));
2015-12-19 10:30:39 +01:00
}
2024-03-04 20:21:48 +01:00
@Override
protected MapCodec<? extends BushBlock> codec() {
return CODEC;
}
}