1.20.4 update

This commit is contained in:
SushiLeader
2024-04-27 17:15:48 +08:00
parent 479eddc639
commit eca78280cc
11 changed files with 592 additions and 179 deletions

View File

@ -44,6 +44,8 @@ var EntityList = [...]Entity{
ChiseledBookshelfEntity{},
BrushableBlockEntity{},
DecoratedPotEntity{},
// CrafterEntity{},
// TrialSpawnerEntity{},
}
func (FurnaceEntity) ID() string { return "minecraft:furnace" }
@ -87,6 +89,8 @@ func (SculkShriekerEntity) ID() string { return "minecraft:sculk_shrieke
func (ChiseledBookshelfEntity) ID() string { return "minecraft:chiseled_bookshelf" }
func (BrushableBlockEntity) ID() string { return "minecraft:brushable_block" }
func (DecoratedPotEntity) ID() string { return "minecraft:decorated_pot" }
// func (CrafterEntity) ID() string { return "minecraft:crafter" }
// func (TrialSpawnerEntity) ID() string { return "minecraft:trial_spawner" }
func (f FurnaceEntity) IsValidBlock(block Block) bool {
return block.ID() == "minecraft:furnace"
@ -423,3 +427,11 @@ func (b BrushableBlockEntity) IsValidBlock(block Block) bool {
func (d DecoratedPotEntity) IsValidBlock(block Block) bool {
return block.ID() == "minecraft:decorated_pot"
}
// func (c CrafterEntity) IsValidBlock(block Block) bool {
// return block.ID() == "minecraft:crafter"
// }
//
// func (t TrialSpawnerEntity) IsValidBlock(block Block) bool {
// return block.ID() == "minecraft:trial_spawner"
// }