format code
This commit is contained in:
@ -22,8 +22,11 @@ type registry struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// This file is generated with following command
|
// This file is generated with following command
|
||||||
// java -DbundlerMainClass="net.minecraft.data.Main" -jar server.jar --all
|
//
|
||||||
|
// java -DbundlerMainClass="net.minecraft.data.Main" -jar server.jar --all
|
||||||
|
//
|
||||||
// And you can found it at the generated\reports\ folder.
|
// And you can found it at the generated\reports\ folder.
|
||||||
|
//
|
||||||
//go:embed registries.json
|
//go:embed registries.json
|
||||||
var registersJson []byte
|
var registersJson []byte
|
||||||
|
|
||||||
|
@ -89,6 +89,7 @@ func (SculkShriekerEntity) ID() string { return "minecraft:sculk_shrieke
|
|||||||
func (ChiseledBookshelfEntity) ID() string { return "minecraft:chiseled_bookshelf" }
|
func (ChiseledBookshelfEntity) ID() string { return "minecraft:chiseled_bookshelf" }
|
||||||
func (BrushableBlockEntity) ID() string { return "minecraft:brushable_block" }
|
func (BrushableBlockEntity) ID() string { return "minecraft:brushable_block" }
|
||||||
func (DecoratedPotEntity) ID() string { return "minecraft:decorated_pot" }
|
func (DecoratedPotEntity) ID() string { return "minecraft:decorated_pot" }
|
||||||
|
|
||||||
// func (CrafterEntity) ID() string { return "minecraft:crafter" }
|
// func (CrafterEntity) ID() string { return "minecraft:crafter" }
|
||||||
// func (TrialSpawnerEntity) ID() string { return "minecraft:trial_spawner" }
|
// func (TrialSpawnerEntity) ID() string { return "minecraft:trial_spawner" }
|
||||||
|
|
||||||
@ -431,7 +432,7 @@ func (d DecoratedPotEntity) IsValidBlock(block Block) bool {
|
|||||||
// func (c CrafterEntity) IsValidBlock(block Block) bool {
|
// func (c CrafterEntity) IsValidBlock(block Block) bool {
|
||||||
// return block.ID() == "minecraft:crafter"
|
// return block.ID() == "minecraft:crafter"
|
||||||
// }
|
// }
|
||||||
//
|
//
|
||||||
// func (t TrialSpawnerEntity) IsValidBlock(block Block) bool {
|
// func (t TrialSpawnerEntity) IsValidBlock(block Block) bool {
|
||||||
// return block.ID() == "minecraft:trial_spawner"
|
// return block.ID() == "minecraft:trial_spawner"
|
||||||
// }
|
// }
|
||||||
|
@ -1004,10 +1004,10 @@ func (f *FrontAndTop) UnmarshalText(text []byte) error {
|
|||||||
type TrialSpawnerState = string
|
type TrialSpawnerState = string
|
||||||
|
|
||||||
const (
|
const (
|
||||||
TrailSpawnerActive = "active"
|
TrailSpawnerActive = "active"
|
||||||
TrailSpawnerCooldown = "cooldown"
|
TrailSpawnerCooldown = "cooldown"
|
||||||
TrailSpawnerEjectingReward = "ejecting_reward"
|
TrailSpawnerEjectingReward = "ejecting_reward"
|
||||||
TrailSpawnerInactive = "inactive"
|
TrailSpawnerInactive = "inactive"
|
||||||
TrailSpawnerWaitingForPlayers = "waiting_for_players"
|
TrailSpawnerWaitingForPlayers = "waiting_for_players"
|
||||||
TrailSpawnerWaitingForRewardEjection = "waiting_for_reward_ejection"
|
TrailSpawnerWaitingForRewardEjection = "waiting_for_reward_ejection"
|
||||||
)
|
)
|
||||||
|
Reference in New Issue
Block a user