mirror of
https://github.com/Creators-of-Create/Create.git
synced 2024-11-10 12:33:57 +01:00
Added Display Name To Standard Bogey Style
This commit is contained in:
parent
112306d5d4
commit
411ec36f57
@ -13,6 +13,7 @@ import com.tterrag.registrate.util.entry.BlockEntry;
|
|||||||
|
|
||||||
import net.minecraft.nbt.CompoundTag;
|
import net.minecraft.nbt.CompoundTag;
|
||||||
import net.minecraft.network.chat.Component;
|
import net.minecraft.network.chat.Component;
|
||||||
|
import net.minecraft.network.chat.TranslatableComponent;
|
||||||
import net.minecraft.resources.ResourceLocation;
|
import net.minecraft.resources.ResourceLocation;
|
||||||
|
|
||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
@ -27,6 +28,7 @@ public class AllBogeyStyles {
|
|||||||
|
|
||||||
public static BogeyStyle STANDARD = create("standard")
|
public static BogeyStyle STANDARD = create("standard")
|
||||||
.commonRenderer(CommonStandardBogeyRenderer::new)
|
.commonRenderer(CommonStandardBogeyRenderer::new)
|
||||||
|
.displayName(new TranslatableComponent("create.bogeys.styles.standard"))
|
||||||
.size(BogeySizes.SMALL, SmallStandardBogeyRenderer::new, AllBlocks.SMALL_BOGEY)
|
.size(BogeySizes.SMALL, SmallStandardBogeyRenderer::new, AllBlocks.SMALL_BOGEY)
|
||||||
.size(BogeySizes.LARGE, LargeStandardBogeyRenderer::new, AllBlocks.LARGE_BOGEY)
|
.size(BogeySizes.LARGE, LargeStandardBogeyRenderer::new, AllBlocks.LARGE_BOGEY)
|
||||||
.build();
|
.build();
|
||||||
|
Loading…
Reference in New Issue
Block a user