Versions in this module Expand all Collapse all v0 v0.0.1 Jul 10, 2024 Changes in this version + const IDBanner + const IDBarrel + const IDBeacon + const IDBed + const IDBeehive + const IDBell + const IDBlastFurnace + const IDBrewingStand + const IDBrushableBlock + const IDCalibratedSculkSensor + const IDCampfire + const IDCauldron + const IDChemistryTable + const IDChest + const IDChiseledBookshelf + const IDCommandBlock + const IDComparator + const IDConduit + const IDDayLightDetector + const IDDecoratedPot + const IDDispenser + const IDDropper + const IDEnchantingTable + const IDEndPortal + const IDEnderChest + const IDFlowerPot + const IDFrame + const IDFurnace + const IDGlowFrame + const IDHangingSign + const IDHopper + const IDJigsaw + const IDJukebox + const IDLectern + const IDLodestone + const IDMobSpawner + const IDModBlock + const IDMovingBlock + const IDNetherReactor + const IDNoteBlock + const IDPiston + const IDSculkCatalyst + const IDSculkSensor + const IDSculkShrieker + const IDShulkerBox + const IDSign + const IDSkull + const IDSmoker + const IDSporeBlossom + const IDStructureBlock + func NewPool() map[string]BlockNBT + type Banner struct + Base uint32 + Patterns []general.BannerPatterns + Type int32 + func (*Banner) ID() string + func (b *Banner) FromNBT(x map[string]any) + func (b *Banner) Marshal(io marshal.IO) + func (b *Banner) ToNBT() map[string]any + type Barrel struct + func (*Barrel) ID() string + type Beacon struct + Primary int32 + Secondary int32 + func (*Beacon) ID() string + func (b *Beacon) FromNBT(x map[string]any) + func (b *Beacon) Marshal(io marshal.IO) + func (b *Beacon) ToNBT() map[string]any + type Bed struct + Color uint32 + func (*Bed) ID() string + func (b *Bed) FromNBT(x map[string]any) + func (b *Bed) Marshal(io marshal.IO) + func (b *Bed) ToNBT() map[string]any + type Beehive struct + Occupants []general.BeehiveOccupants + ShouldSpawnBees byte + func (*Beehive) ID() string + func (b *Beehive) FromNBT(x map[string]any) + func (b *Beehive) Marshal(io marshal.IO) + func (b *Beehive) ToNBT() map[string]any + type Bell struct + Direction int32 + Ringing byte + Ticks int32 + func (*Bell) ID() string + func (b *Bell) FromNBT(x map[string]any) + func (b *Bell) Marshal(io marshal.IO) + func (b *Bell) ToNBT() map[string]any + type BlastFurnace struct + func (*BlastFurnace) ID() string + type BlockNBT interface + FromNBT func(x map[string]any) + ID func() string + Marshal func(io marshal.IO) + ToNBT func() map[string]any + type BrewingStand struct + CookTime int16 + FuelAmount int16 + FuelTotal int16 + Items marshal.ItemInstanceList + func (*BrewingStand) ID() string + func (b *BrewingStand) FromNBT(x map[string]any) + func (b *BrewingStand) Marshal(io marshal.IO) + func (b *BrewingStand) ToNBT() map[string]any + type BrushableBlock struct + BrushCount int32 + BrushDirection byte + LootTable string + LootTableSeed int32 + func (*BrushableBlock) ID() string + func (b *BrushableBlock) FromNBT(x map[string]any) + func (b *BrushableBlock) Marshal(io marshal.IO) + func (b *BrushableBlock) ToNBT() map[string]any + type CalibratedSculkSensor struct + func (*CalibratedSculkSensor) ID() string + type Campfire struct + Item1 marshal.Optional[marshal.ItemInstance] + Item2 marshal.Optional[marshal.ItemInstance] + Item3 marshal.Optional[marshal.ItemInstance] + Item4 marshal.Optional[marshal.ItemInstance] + ItemTime1 int32 + ItemTime2 int32 + ItemTime3 int32 + ItemTime4 int32 + func (*Campfire) ID() string + func (c *Campfire) FromNBT(x map[string]any) + func (c *Campfire) Marshal(io marshal.IO) + func (c *Campfire) ToNBT() map[string]any + type Cauldron struct + CustomColor int32 + Items marshal.ItemInstanceList + PotionId int16 + PotionType int16 + func (*Cauldron) ID() string + func (c *Cauldron) FromNBT(x map[string]any) + func (c *Cauldron) Marshal(io marshal.IO) + func (c *Cauldron) ToNBT() map[string]any + type ChemistryTable struct + Item marshal.Optional[general.ChemistryTableItem] + func (*ChemistryTable) ID() string + func (c *ChemistryTable) FromNBT(x map[string]any) + func (c *ChemistryTable) Marshal(io marshal.IO) + func (c *ChemistryTable) ToNBT() map[string]any + type Chest struct + CustomSize marshal.Optional[int16] + Findable byte + ForceUnpair byte + HasPair byte + Items marshal.ItemInstanceList + Pairlead byte + Pairx int32 + Pairz int32 + func (c *Chest) FromNBT(x map[string]any) + func (c *Chest) ID() string + func (c *Chest) Marshal(io marshal.IO) + func (c *Chest) ToNBT() map[string]any + type ChiseledBookshelf struct + func (*ChiseledBookshelf) ID() string + type CommandBlock struct + Auto byte + Command string + ConditionMet byte + ConditionalMode byte + CustomName string + ExecuteOnFirstTick byte + LPCommandMode int32 + LPCondionalMode byte + LPRedstoneMode byte + LastExecution int64 + LastOutput string + LastOutputParams []string + SuccessCount int32 + TickDelay int32 + TrackOutput byte + Version int32 + func (*CommandBlock) ID() string + func (c *CommandBlock) FromNBT(x map[string]any) + func (c *CommandBlock) Marshal(io marshal.IO) + func (c *CommandBlock) ToNBT() map[string]any + type Comparator struct + OutputSignal int32 + func (*Comparator) ID() string + func (c *Comparator) FromNBT(x map[string]any) + func (c *Comparator) Marshal(io marshal.IO) + func (c *Comparator) ToNBT() map[string]any + type Conduit struct + Active byte + Target int64 + func (*Conduit) ID() string + func (c *Conduit) FromNBT(x map[string]any) + func (c *Conduit) Marshal(io marshal.IO) + func (c *Conduit) ToNBT() map[string]any + type DayLightDetector struct + func (*DayLightDetector) ID() string + type DecoratedPot struct + Animation byte + Item marshal.ItemInstance + func (*DecoratedPot) ID() string + func (d *DecoratedPot) FromNBT(x map[string]any) + func (d *DecoratedPot) Marshal(io marshal.IO) + func (d *DecoratedPot) ToNBT() map[string]any + type Dispenser struct + Items marshal.ItemInstanceList + Name string + func (*Dispenser) ID() string + func (d *Dispenser) FromNBT(x map[string]any) + func (d *Dispenser) Marshal(io marshal.IO) + func (d *Dispenser) ToNBT() map[string]any + type Dropper struct + func (*Dropper) ID() string + type EnchantingTable struct + Name string + Rotation float32 + func (*EnchantingTable) ID() string + func (e *EnchantingTable) FromNBT(x map[string]any) + func (e *EnchantingTable) Marshal(io marshal.IO) + func (e *EnchantingTable) ToNBT() map[string]any + type EndPortal struct + func (*EndPortal) ID() string + type EnderChest struct + func (*EnderChest) ID() string + type FlowerPot struct + PlantBlock map[string]any + func (*FlowerPot) ID() string + func (f *FlowerPot) FromNBT(x map[string]any) + func (f *FlowerPot) Marshal(io marshal.IO) + func (f *FlowerPot) ToNBT() map[string]any + type Frame struct + Frame marshal.Optional[general.Frame] + func (*Frame) ID() string + func (f *Frame) FromNBT(x map[string]any) + func (f *Frame) Marshal(io marshal.IO) + func (f *Frame) ToNBT() map[string]any + type Furnace struct + BurnDuration int16 + BurnTime int16 + CookTime int16 + Items marshal.ItemInstanceList + StoredXPInt int32 + func (*Furnace) ID() string + func (f *Furnace) FromNBT(x map[string]any) + func (f *Furnace) Marshal(io marshal.IO) + func (f *Furnace) ToNBT() map[string]any + type GlowFrame struct + func (*GlowFrame) ID() string + type HangingSign struct + func (*HangingSign) ID() string + type Hopper struct + Items marshal.ItemInstanceList + MoveItemSpeed int16 + TransferCooldown int32 + func (*Hopper) ID() string + func (h *Hopper) FromNBT(x map[string]any) + func (h *Hopper) Marshal(io marshal.IO) + func (h *Hopper) ToNBT() map[string]any + type Jigsaw struct + FinalState string + Joint string + Name string + PlacementPriority int32 + SelectionPriority int32 + Target string + TargetPool string + func (*Jigsaw) ID() string + func (j *Jigsaw) FromNBT(x map[string]any) + func (j *Jigsaw) Marshal(io marshal.IO) + func (j *Jigsaw) ToNBT() map[string]any + type Jukebox struct + RecordItem marshal.Optional[marshal.ItemInstance] + func (j *Jukebox) FromNBT(x map[string]any) + func (j *Jukebox) ID() string + func (j *Jukebox) Marshal(io marshal.IO) + func (j *Jukebox) ToNBT() map[string]any + type Lectern struct + Book marshal.ItemInstance + HasBook byte + Page int32 + TotalPages int32 + func (*Lectern) ID() string + func (l *Lectern) CheckExist(x map[string]any) (exist bool) + func (l *Lectern) FromNBT(x map[string]any) + func (l *Lectern) Marshal(io marshal.IO) + func (l *Lectern) ToNBT() map[string]any + type Lodestone struct + TrackingHandle marshal.Optional[int32] + func (*Lodestone) ID() string + func (l *Lodestone) FromNBT(x map[string]any) + func (l *Lodestone) Marshal(io marshal.IO) + func (l *Lodestone) ToNBT() map[string]any + type MobSpawner struct + Delay int16 + DisplayEntityHeight float32 + DisplayEntityScale float32 + DisplayEntityWidth float32 + EntityIdentifier string + MaxNearbyEntities int16 + MaxSpawnDelay int16 + MinSpawnDelay int16 + RequiredPlayerRange int16 + SpawnCount int16 + SpawnData marshal.Optional[general.SpawnData] + SpawnPotentials marshal.Optional[general.MultiSpawnData] + SpawnRange int16 + func (*MobSpawner) ID() string + func (m *MobSpawner) FromNBT(x map[string]any) + func (m *MobSpawner) Marshal(io marshal.IO) + func (m *MobSpawner) ToNBT() map[string]any + type ModBlock struct + BlockName string + ExData uint32 + Movable byte + Tick byte + TickClient byte + UniqueId int64 + func (*ModBlock) ID() string + func (m *ModBlock) FromNBT(x map[string]any) + func (m *ModBlock) Marshal(io marshal.IO) + func (m *ModBlock) ToNBT() map[string]any + type MovingBlock struct + Expanding byte + MovingBlock map[string]any + MovingBlockExtra map[string]any + MovingEntity marshal.Optional[map[string]any] + PistonPosX int32 + PistonPosY int32 + PistonPosZ int32 + func (*MovingBlock) ID() string + func (m *MovingBlock) FromNBT(x map[string]any) + func (m *MovingBlock) Marshal(io marshal.IO) + func (m *MovingBlock) ToNBT() map[string]any + type NetherReactor struct + HasFinished byte + IsInitialized byte + Progress int16 + func (*NetherReactor) ID() string + func (n *NetherReactor) FromNBT(x map[string]any) + func (n *NetherReactor) Marshal(io marshal.IO) + func (n *NetherReactor) ToNBT() map[string]any + type NoteBlock struct + Note uint32 + func (*NoteBlock) ID() string + func (n *NoteBlock) FromNBT(x map[string]any) + func (n *NoteBlock) Marshal(io marshal.IO) + func (n *NoteBlock) ToNBT() map[string]any + type Piston struct + AttachedBlocks []marshal.BlockPos + BreakBlocks []marshal.BlockPos + LastProgress float32 + NewState uint32 + Progress float32 + State uint32 + Sticky byte + func (*Piston) ID() string + func (p *Piston) FromNBT(x map[string]any) + func (p *Piston) Marshal(io marshal.IO) + func (p *Piston) ToNBT() map[string]any + type SculkCatalyst struct + func (*SculkCatalyst) ID() string + type SculkSensor struct + VibrationListener map[string]any + func (*SculkSensor) ID() string + func (s *SculkSensor) FromNBT(x map[string]any) + func (s *SculkSensor) Marshal(io marshal.IO) + func (s *SculkSensor) ToNBT() map[string]any + type SculkShrieker struct + func (*SculkShrieker) ID() string + type ShulkerBox struct + Facing uint32 + func (*ShulkerBox) ID() string + func (s *ShulkerBox) FromNBT(x map[string]any) + func (s *ShulkerBox) Marshal(io marshal.IO) + func (s *ShulkerBox) ToNBT() map[string]any + type Sign struct + BackText general.SignText + FrontText general.SignText + IsWaxed byte + func (*Sign) ID() string + func (s *Sign) FromNBT(x map[string]any) + func (s *Sign) Marshal(io marshal.IO) + func (s *Sign) ToNBT() map[string]any + type Skull struct + DoingAnimation byte + MouthTickCount uint16 + Rotation float32 + SkullType uint16 + func (*Skull) ID() string + func (s *Skull) FromNBT(x map[string]any) + func (s *Skull) Marshal(io marshal.IO) + func (s *Skull) ToNBT() map[string]any + type Smoker struct + func (*Smoker) ID() string + type SporeBlossom struct + func (*SporeBlossom) ID() string + type StructureBlock struct + AnimationMode uint32 + AnimationSeconds float32 + Data int32 + DataField string + IgnoreEntities byte + IncludePlayers byte + Integrity float32 + IsPowered byte + Mirror uint32 + RedstoneSaveMode int32 + RemoveBlocks byte + Rotation uint32 + Seed int64 + ShowBoundingBox byte + StructureName string + XStructureOffset int32 + XStructureSize int32 + YStructureOffset int32 + YStructureSize int32 + ZStructureOffset int32 + ZStructureSize int32 + func (*StructureBlock) ID() string + func (s *StructureBlock) FromNBT(x map[string]any) + func (s *StructureBlock) Marshal(io marshal.IO) + func (s *StructureBlock) ToNBT() map[string]any