2015-12-03 20:15:07 +01:00
|
|
|
/*
|
2016-05-16 22:52:27 +02:00
|
|
|
* This file ("BlockBushBase.java") is part of the Actually Additions mod for Minecraft.
|
2015-12-03 20:15:07 +01:00
|
|
|
* 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
|
2015-12-03 20:15:07 +01:00
|
|
|
* View the source code at https://github.com/Ellpeck/ActuallyAdditions
|
|
|
|
*
|
2017-01-01 16:23:26 +01:00
|
|
|
* © 2015-2017 Ellpeck
|
2015-12-03 20:15:07 +01:00
|
|
|
*/
|
|
|
|
|
2016-01-05 04:47:35 +01:00
|
|
|
package de.ellpeck.actuallyadditions.mod.blocks.base;
|
2015-12-03 20:15:07 +01:00
|
|
|
|
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-08-22 17:09:06 +02:00
|
|
|
|
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);
|
|
|
|
|
2021-02-28 11:35:10 +01:00
|
|
|
public BlockBushBase(Properties properties) {
|
2021-08-22 17:09:06 +02:00
|
|
|
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;
|
|
|
|
}
|
2015-12-03 20:15:07 +01:00
|
|
|
}
|