Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ZeppelinMC/Zeppelin
/ functions
Functions
3,021 in github.com/ZeppelinMC/Zeppelin
⨍
Functions
3,021
◇
Types & classes
1,343
↓ 2 callers
Method
readListArray
(tag byte, l int32, a *array_t)
protocol/nbt/qnbt/list.go:74
↓ 2 callers
Method
readLongArray
(ptr unsafe.Pointer)
protocol/nbt/qnbt/primitive.go:214
↓ 2 callers
Method
readShortPtr
(ptr unsafe.Pointer)
protocol/nbt/qnbt/primitive.go:116
↓ 2 callers
Method
readStringNonCopy
(dst *string)
protocol/nbt/qnbt/primitive.go:192
↓ 2 callers
Method
readStringPtr
(dst unsafe.Pointer)
protocol/nbt/qnbt/primitive.go:210
↓ 2 callers
Method
readTo
(t []byte)
protocol/nbt/decoder.go:1041
↓ 2 callers
Method
writeIntArray
(il []int32)
protocol/nbt/encoder.go:92
↓ 2 callers
Method
y
(x, z int32)
server/world/terrain/terrain.go:25
↓ 1 callers
Method
AddNew
(f func())
server/tick/tick.go:30
↓ 1 callers
Method
AddPlayer
(player *Player)
server/player/playerlist.go:50
↓ 1 callers
Method
Append
Append adds the elements from the specified pointers to the slice
util/atomic/slice.go:96
↓ 1 callers
Function
AppendString
(data []byte, str string)
protocol/net/io/encoding/encoding.go:147
↓ 1 callers
Function
AppendVarInt
(data []byte, value int32)
protocol/net/io/encoding/encoding.go:34
↓ 1 callers
Method
Attributes
Attributes returns a clone of the attributes of this state
server/entity/entity.go:75
↓ 1 callers
Method
BPE
()
server/world/chunk/section/section.go:44
↓ 1 callers
Method
Block
X and Z should be relative to the chunk (aka x&0x0f, z&0x0f), but Y should be absolute.
server/world/chunk/chunk.go:80
↓ 1 callers
Method
Byte
(i int8)
protocol/net/io/encoding/writer.go:32
↓ 1 callers
Method
ByteArray
Length prefixed byte array
protocol/net/io/encoding/writer.go:171
↓ 1 callers
Function
Chat
(t text.TextComponent)
util/log/log.go:209
↓ 1 callers
Function
ChunkHash
(x, z int32)
server/world/level/region/region_dec.go:171
↓ 1 callers
Method
Close
Close closes the decoder for further use and puts it back in the decoder pool
protocol/nbt/qnbt/decode.go:59
↓ 1 callers
Function
CompressZlib
Compresses zlib. If compressedLength is provided, data returned will only be safe to use until the next operation. It is recommmended to provide the c
protocol/net/io/compress/zlib.go:35
↓ 1 callers
Method
Count
()
server/tick/tick.go:99
↓ 1 callers
Function
Create
(l Level)
server/world/level/level.go:160
↓ 1 callers
Function
DataSlotFrom
(network int32)
server/world/level/item/item.go:36
↓ 1 callers
Function
Decode
(r io.ReaderAt, f *File, rx, rz int32, generator chunk.Generator)
server/world/level/region/region_dec.go:151
↓ 1 callers
Method
Decode
Decode will decode the nbt file into v and return the root name of the file
protocol/nbt/decoder.go:123
↓ 1 callers
Method
Decode
(dst any)
protocol/nbt/qnbt/decode.go:115
↓ 1 callers
Method
DecodeAndClose
DecodeAndClose decodes into dst and closes the decoder
protocol/nbt/qnbt/decode.go:110
↓ 1 callers
Function
DecompressZlib
Decompress zlib. If decompressedLength is provided, the data returned will only be safe to use until the next operation It is recommmended to provide
protocol/net/io/compress/zlib.go:11
↓ 1 callers
Function
Empty
(f *File, rx, rz int32, generator chunk.Generator)
server/world/level/region/region_dec.go:143
↓ 1 callers
Method
Encode
(name string, v any)
protocol/nbt/encoder.go:22
↓ 1 callers
Method
Error
()
protocol/nbt/qnbt/decode.go:25
↓ 1 callers
Function
EuclideanRemainder
(a, b float32)
util/rot.go:44
↓ 1 callers
Method
Fallback
(i int, fb string)
server/command/command.go:26
↓ 1 callers
Method
Food
()
server/entity/entity.go:198
↓ 1 callers
Function
FormatSizeUnit
FormatSizeUnit formats a number of bytes into a human-readable string.
util/unit.go:57
↓ 1 callers
Method
Freeze
()
server/tick/tick.go:62
↓ 1 callers
Method
GameMode
()
server/player/state/playerEntity.go:71
↓ 1 callers
Method
GenerateWorldSpawn
()
server/world/chunk/chunk.go:15
↓ 1 callers
Method
Get
(x, z int32)
server/world/chunk/heightmaps/heightmaps.go:24
↓ 1 callers
Function
GetBlock
Returns the block struct found for the block name
server/world/chunk/section/blockRegister.go:36
↓ 1 callers
Function
GetFlag
(name string)
util/console/console.go:25
↓ 1 callers
Method
Hash
First 8 bytes of the SHA-256 hash of the world's seed. Used client side for biome noise
server/world/level/seed/seed.go:14
↓ 1 callers
Method
Health
()
server/entity/entity.go:194
↓ 1 callers
Method
IncrementTime
increments the day time and world age by one tick and returns the updated time
server/world/world.go:114
↓ 1 callers
Function
Info
prints the contents prefixed by a carriage return + blue info text
util/log/log.go:235
↓ 1 callers
Function
Infof
prints the contents prefixed by a carriage return + blue info text
util/log/log.go:241
↓ 1 callers
Function
InfolnfClean
prints the contents formatted prefixed by a carriage return + blue info text and suffixed with a new line
util/log/log.go:228
↓ 1 callers
Method
Init
()
server/world/chunk/section/section.go:39
↓ 1 callers
Method
Int
(i int32)
protocol/net/io/encoding/writer.go:54
↓ 1 callers
Method
LoadedChunks
()
server/world/level/region/region_dec.go:43
↓ 1 callers
Method
Login
Login logs the player into the game
server/player/player.go:206
↓ 1 callers
Function
Make
(len, cap, sizeOfElement uintptr)
util/atomic/slice.go:21
↓ 1 callers
Function
MapEqual
(m1, m2 map[string]string)
util/mapequal.go:3
↓ 1 callers
Function
Marshal
Marshal encodes the properties file
properties/encode.go:12
↓ 1 callers
Method
Motion
()
server/entity/entity.go:157
↓ 1 callers
Method
NBT
(data any)
protocol/net/io/encoding/writer.go:207
↓ 1 callers
Method
Name
()
server/world/dimension/dimension.go:49
↓ 1 callers
Method
NameOf
Returns the name of the protocol id
server/registry/registry.go:31
↓ 1 callers
Method
Network
()
server/world/level/item/item.go:15
↓ 1 callers
Function
New
Creates a new server instance using the specified config, returns an error if unable to bind listener
server/server.go:31
↓ 1 callers
Function
New
(regionPath, typ, name string, chunkGenerator chunk.Generator, level level.Level)
server/world/dimension/dimension.go:18
↓ 1 callers
Function
New
(gen chunk.Generator, props properties.ServerProperties, worldPath string)
server/world/level/level.go:181
↓ 1 callers
Function
New
(str string)
server/world/level/seed/seed.go:24
↓ 1 callers
Function
New
(uuid uuid.UUID, typ int32, metadata metadata.Metadata, attributes []Attribute)
server/entity/entity.go:22
↓ 1 callers
Method
New
()
protocol/net/config.go:26
↓ 1 callers
Method
New
()
server/tick/tick.go:90
↓ 1 callers
Method
NewChunk
(x, z int32)
server/world/chunk/chunk.go:14
↓ 1 callers
Function
NewDimensionManager
(dimensions map[string]*Dimension)
server/world/dimension/manager.go:8
↓ 1 callers
Function
NewEntityId
()
server/entity/entity.go:18
↓ 1 callers
Function
NewLiving
(e *Entity)
server/entity/entity.go:31
↓ 1 callers
Function
NewManager
(srv any, cmds ...Command)
server/command/manager.go:23
↓ 1 callers
Function
NewManager
()
server/world/dimension/window/window.go:20
↓ 1 callers
Method
NewPlayerData
(uuid uuid.UUID)
server/world/level/playerdata.go:134
↓ 1 callers
Function
NewPlayerEntityManager
()
server/player/state/playerEntityManager.go:41
↓ 1 callers
Function
NewPlayerList
(cap uintptr)
server/player/playerlist.go:10
↓ 1 callers
Function
NewTerrainGenerator
(seed int64)
server/world/terrain/terrain.go:99
↓ 1 callers
Function
NewWorld
(props properties.ServerProperties)
server/world/world.go:33
↓ 1 callers
Method
NumPlayers
()
server/player/playerlist.go:20
↓ 1 callers
Method
OnGround
()
server/entity/entity.go:165
↓ 1 callers
Function
Open
TODO fix EOF error worldPath is the base path of the world
server/world/level/level.go:138
↓ 1 callers
Function
ParseSizeUnit
ParseSizeUnit parses a size string into a number of bytes.
util/unit.go:21
↓ 1 callers
Function
Player
Player returns the default player metadata object
protocol/net/metadata/new.go:4
↓ 1 callers
Method
PlayerByUsername
(name string)
server/player/playerlist.go:35
↓ 1 callers
Method
PlayerData
(uuid string)
server/world/level/playerdata.go:110
↓ 1 callers
Function
Printlnf
* Println prints the content formatted, and prefixed and suffixed with a carriage return with an endline in the end. Unlike fmt.Println, this doesn't
util/log/log.go:192
↓ 1 callers
Method
Properties
()
server/server.go:147
↓ 1 callers
Function
RGB
(r, g, b uint8)
protocol/text/color.go:28
↓ 1 callers
Method
Range
(itr func(pos.BlockPosition, *Window))
server/world/dimension/window/window.go:34
↓ 1 callers
Method
ReadAll
(targets ...any)
protocol/nbt/staticReader.go:227
↓ 1 callers
Method
ReadRootName
(v bool)
protocol/nbt/decoder.go:70
↓ 1 callers
Method
ReadStringMap
super convenient
protocol/nbt/staticReader.go:200
↓ 1 callers
Method
Refresh
(props properties.ServerProperties)
server/world/level/level.go:211
↓ 1 callers
Function
RegisterHandler
(state, id int32, handler func(*Player, packet.Decodeable) error)
server/player/conn.go:15
↓ 1 callers
Method
Rune
()
properties/properties.go:7
↓ 1 callers
Method
SaveAll
saves all the players in the manager to the path specified in their data file
server/player/state/playerEntityManager.go:31
↓ 1 callers
Method
SectionX
returns the relative x position of the block in its section
server/world/block/pos/pos.go:40
↓ 1 callers
Method
SectionZ
returns the relative z position of the block in its section
server/world/block/pos/pos.go:50
↓ 1 callers
Method
Set
(t T)
util/atomic/atomic.go:20
← previous
next →
201–300 of 3,021, ranked by callers