MCPcopy Create free account

hub / github.com/ZeppelinMC/Zeppelin / functions

Functions3,021 in github.com/ZeppelinMC/Zeppelin

↓ 2 callersMethodreadListArray
(tag byte, l int32, a *array_t)
protocol/nbt/qnbt/list.go:74
↓ 2 callersMethodreadLongArray
(ptr unsafe.Pointer)
protocol/nbt/qnbt/primitive.go:214
↓ 2 callersMethodreadShortPtr
(ptr unsafe.Pointer)
protocol/nbt/qnbt/primitive.go:116
↓ 2 callersMethodreadStringNonCopy
(dst *string)
protocol/nbt/qnbt/primitive.go:192
↓ 2 callersMethodreadStringPtr
(dst unsafe.Pointer)
protocol/nbt/qnbt/primitive.go:210
↓ 2 callersMethodreadTo
(t []byte)
protocol/nbt/decoder.go:1041
↓ 2 callersMethodwriteIntArray
(il []int32)
protocol/nbt/encoder.go:92
↓ 2 callersMethody
(x, z int32)
server/world/terrain/terrain.go:25
↓ 1 callersMethodAddNew
(f func())
server/tick/tick.go:30
↓ 1 callersMethodAddPlayer
(player *Player)
server/player/playerlist.go:50
↓ 1 callersMethodAppend
Append adds the elements from the specified pointers to the slice
util/atomic/slice.go:96
↓ 1 callersFunctionAppendString
(data []byte, str string)
protocol/net/io/encoding/encoding.go:147
↓ 1 callersFunctionAppendVarInt
(data []byte, value int32)
protocol/net/io/encoding/encoding.go:34
↓ 1 callersMethodAttributes
Attributes returns a clone of the attributes of this state
server/entity/entity.go:75
↓ 1 callersMethodBPE
()
server/world/chunk/section/section.go:44
↓ 1 callersMethodBlock
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 callersMethodByte
(i int8)
protocol/net/io/encoding/writer.go:32
↓ 1 callersMethodByteArray
Length prefixed byte array
protocol/net/io/encoding/writer.go:171
↓ 1 callersFunctionChat
(t text.TextComponent)
util/log/log.go:209
↓ 1 callersFunctionChunkHash
(x, z int32)
server/world/level/region/region_dec.go:171
↓ 1 callersMethodClose
Close closes the decoder for further use and puts it back in the decoder pool
protocol/nbt/qnbt/decode.go:59
↓ 1 callersFunctionCompressZlib
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 callersMethodCount
()
server/tick/tick.go:99
↓ 1 callersFunctionCreate
(l Level)
server/world/level/level.go:160
↓ 1 callersFunctionDataSlotFrom
(network int32)
server/world/level/item/item.go:36
↓ 1 callersFunctionDecode
(r io.ReaderAt, f *File, rx, rz int32, generator chunk.Generator)
server/world/level/region/region_dec.go:151
↓ 1 callersMethodDecode
Decode will decode the nbt file into v and return the root name of the file
protocol/nbt/decoder.go:123
↓ 1 callersMethodDecode
(dst any)
protocol/nbt/qnbt/decode.go:115
↓ 1 callersMethodDecodeAndClose
DecodeAndClose decodes into dst and closes the decoder
protocol/nbt/qnbt/decode.go:110
↓ 1 callersFunctionDecompressZlib
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 callersFunctionEmpty
(f *File, rx, rz int32, generator chunk.Generator)
server/world/level/region/region_dec.go:143
↓ 1 callersMethodEncode
(name string, v any)
protocol/nbt/encoder.go:22
↓ 1 callersMethodError
()
protocol/nbt/qnbt/decode.go:25
↓ 1 callersFunctionEuclideanRemainder
(a, b float32)
util/rot.go:44
↓ 1 callersMethodFallback
(i int, fb string)
server/command/command.go:26
↓ 1 callersMethodFood
()
server/entity/entity.go:198
↓ 1 callersFunctionFormatSizeUnit
FormatSizeUnit formats a number of bytes into a human-readable string.
util/unit.go:57
↓ 1 callersMethodFreeze
()
server/tick/tick.go:62
↓ 1 callersMethodGameMode
()
server/player/state/playerEntity.go:71
↓ 1 callersMethodGenerateWorldSpawn
()
server/world/chunk/chunk.go:15
↓ 1 callersMethodGet
(x, z int32)
server/world/chunk/heightmaps/heightmaps.go:24
↓ 1 callersFunctionGetBlock
Returns the block struct found for the block name
server/world/chunk/section/blockRegister.go:36
↓ 1 callersFunctionGetFlag
(name string)
util/console/console.go:25
↓ 1 callersMethodHash
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 callersMethodHealth
()
server/entity/entity.go:194
↓ 1 callersMethodIncrementTime
increments the day time and world age by one tick and returns the updated time
server/world/world.go:114
↓ 1 callersFunctionInfo
prints the contents prefixed by a carriage return + blue info text
util/log/log.go:235
↓ 1 callersFunctionInfof
prints the contents prefixed by a carriage return + blue info text
util/log/log.go:241
↓ 1 callersFunctionInfolnfClean
prints the contents formatted prefixed by a carriage return + blue info text and suffixed with a new line
util/log/log.go:228
↓ 1 callersMethodInit
()
server/world/chunk/section/section.go:39
↓ 1 callersMethodInt
(i int32)
protocol/net/io/encoding/writer.go:54
↓ 1 callersMethodLoadedChunks
()
server/world/level/region/region_dec.go:43
↓ 1 callersMethodLogin
Login logs the player into the game
server/player/player.go:206
↓ 1 callersFunctionMake
(len, cap, sizeOfElement uintptr)
util/atomic/slice.go:21
↓ 1 callersFunctionMapEqual
(m1, m2 map[string]string)
util/mapequal.go:3
↓ 1 callersFunctionMarshal
Marshal encodes the properties file
properties/encode.go:12
↓ 1 callersMethodMotion
()
server/entity/entity.go:157
↓ 1 callersMethodNBT
(data any)
protocol/net/io/encoding/writer.go:207
↓ 1 callersMethodName
()
server/world/dimension/dimension.go:49
↓ 1 callersMethodNameOf
Returns the name of the protocol id
server/registry/registry.go:31
↓ 1 callersMethodNetwork
()
server/world/level/item/item.go:15
↓ 1 callersFunctionNew
Creates a new server instance using the specified config, returns an error if unable to bind listener
server/server.go:31
↓ 1 callersFunctionNew
(regionPath, typ, name string, chunkGenerator chunk.Generator, level level.Level)
server/world/dimension/dimension.go:18
↓ 1 callersFunctionNew
(gen chunk.Generator, props properties.ServerProperties, worldPath string)
server/world/level/level.go:181
↓ 1 callersFunctionNew
(str string)
server/world/level/seed/seed.go:24
↓ 1 callersFunctionNew
(uuid uuid.UUID, typ int32, metadata metadata.Metadata, attributes []Attribute)
server/entity/entity.go:22
↓ 1 callersMethodNew
()
protocol/net/config.go:26
↓ 1 callersMethodNew
()
server/tick/tick.go:90
↓ 1 callersMethodNewChunk
(x, z int32)
server/world/chunk/chunk.go:14
↓ 1 callersFunctionNewDimensionManager
(dimensions map[string]*Dimension)
server/world/dimension/manager.go:8
↓ 1 callersFunctionNewEntityId
()
server/entity/entity.go:18
↓ 1 callersFunctionNewLiving
(e *Entity)
server/entity/entity.go:31
↓ 1 callersFunctionNewManager
(srv any, cmds ...Command)
server/command/manager.go:23
↓ 1 callersFunctionNewManager
()
server/world/dimension/window/window.go:20
↓ 1 callersMethodNewPlayerData
(uuid uuid.UUID)
server/world/level/playerdata.go:134
↓ 1 callersFunctionNewPlayerEntityManager
()
server/player/state/playerEntityManager.go:41
↓ 1 callersFunctionNewPlayerList
(cap uintptr)
server/player/playerlist.go:10
↓ 1 callersFunctionNewTerrainGenerator
(seed int64)
server/world/terrain/terrain.go:99
↓ 1 callersFunctionNewWorld
(props properties.ServerProperties)
server/world/world.go:33
↓ 1 callersMethodNumPlayers
()
server/player/playerlist.go:20
↓ 1 callersMethodOnGround
()
server/entity/entity.go:165
↓ 1 callersFunctionOpen
TODO fix EOF error worldPath is the base path of the world
server/world/level/level.go:138
↓ 1 callersFunctionParseSizeUnit
ParseSizeUnit parses a size string into a number of bytes.
util/unit.go:21
↓ 1 callersFunctionPlayer
Player returns the default player metadata object
protocol/net/metadata/new.go:4
↓ 1 callersMethodPlayerByUsername
(name string)
server/player/playerlist.go:35
↓ 1 callersMethodPlayerData
(uuid string)
server/world/level/playerdata.go:110
↓ 1 callersFunctionPrintlnf
* 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 callersMethodProperties
()
server/server.go:147
↓ 1 callersFunctionRGB
(r, g, b uint8)
protocol/text/color.go:28
↓ 1 callersMethodRange
(itr func(pos.BlockPosition, *Window))
server/world/dimension/window/window.go:34
↓ 1 callersMethodReadAll
(targets ...any)
protocol/nbt/staticReader.go:227
↓ 1 callersMethodReadRootName
(v bool)
protocol/nbt/decoder.go:70
↓ 1 callersMethodReadStringMap
super convenient
protocol/nbt/staticReader.go:200
↓ 1 callersMethodRefresh
(props properties.ServerProperties)
server/world/level/level.go:211
↓ 1 callersFunctionRegisterHandler
(state, id int32, handler func(*Player, packet.Decodeable) error)
server/player/conn.go:15
↓ 1 callersMethodRune
()
properties/properties.go:7
↓ 1 callersMethodSaveAll
saves all the players in the manager to the path specified in their data file
server/player/state/playerEntityManager.go:31
↓ 1 callersMethodSectionX
returns the relative x position of the block in its section
server/world/block/pos/pos.go:40
↓ 1 callersMethodSectionZ
returns the relative z position of the block in its section
server/world/block/pos/pos.go:50
↓ 1 callersMethodSet
(t T)
util/atomic/atomic.go:20
← previousnext →201–300 of 3,021, ranked by callers