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
↓ 1,060 callers
Function
RegisterBlock
Registers a block struct that will be used for creating blocks with the name returned by the block's Encode function
server/world/chunk/section/blockRegister.go:30
↓ 213 callers
Method
VarInt
(value *int32)
protocol/net/io/encoding/reader.go:110
↓ 155 callers
Method
Type
()
server/entity/entity.go:173
↓ 132 callers
Function
atoi
(str string)
server/world/block/0block.go:38
↓ 89 callers
Method
Bool
(b *bool)
protocol/net/io/encoding/reader.go:42
↓ 64 callers
Method
Float
(f *float32)
protocol/net/io/encoding/reader.go:88
↓ 47 callers
Method
writeByte
(b int8)
protocol/nbt/encoder.go:51
↓ 45 callers
Method
Set
(i int)
protocol/net/io/encoding/encoding.go:168
↓ 44 callers
Method
Pointer
()
util/atomic/slice.go:46
↓ 41 callers
Method
Ubyte
(i *byte)
protocol/net/io/encoding/reader.go:59
↓ 40 callers
Method
Y
returns the absolute y position of the block in the world
server/world/block/pos/pos.go:15
↓ 39 callers
Method
String
(s *string)
protocol/net/io/encoding/reader.go:95
↓ 39 callers
Method
X
returns the absolute x position of the block in the world
server/world/block/pos/pos.go:10
↓ 39 callers
Method
Z
returns the absolute z position of the block in the world
server/world/block/pos/pos.go:20
↓ 36 callers
Method
Len
()
util/atomic/slice.go:38
↓ 36 callers
Method
Long
(i *int64)
protocol/net/io/encoding/reader.go:82
↓ 33 callers
Method
New
creates a new instance of the block with the specified properties
server/world/chunk/section/block.go:7
↓ 32 callers
Method
Short
(i *int16)
protocol/net/io/encoding/reader.go:65
↓ 32 callers
Method
writeString
(s string)
protocol/nbt/encoder.go:106
↓ 29 callers
Method
WritePacket
(pk packet.Encodeable)
protocol/net/conn.go:177
↓ 28 callers
Method
Double
(f *float64)
protocol/net/io/encoding/reader.go:91
↓ 25 callers
Method
TextComponent
(comp *text.TextComponent)
protocol/net/io/encoding/reader.go:250
↓ 24 callers
Method
Identifier
(s *string)
protocol/net/io/encoding/reader.go:106
↓ 23 callers
Method
ByteArray
Length prefixed byte array
protocol/net/io/encoding/reader.go:217
↓ 23 callers
Method
Write
(data []byte)
protocol/net/conn.go:200
↓ 21 callers
Method
Byte
(i *int8)
protocol/net/io/encoding/reader.go:54
↓ 21 callers
Function
kind_name
(k uint8)
protocol/nbt/qnbt/abi.go:102
↓ 19 callers
Function
tagName
(t string)
protocol/nbt/qnbt/primitive.go:43
↓ 18 callers
Method
Int
(dst *int32)
protocol/nbt/staticReader.go:120
↓ 18 callers
Function
timeString
()
util/log/log.go:35
↓ 18 callers
Method
writeInt
(i int32)
protocol/nbt/encoder.go:62
↓ 17 callers
Method
Add
(nodes ...Node)
server/command/builder.go:72
↓ 17 callers
Function
kindOf
(t *unsafe2.Type)
protocol/nbt/qnbt/abi.go:94
↓ 17 callers
Function
stackCallerModule
(i int)
util/log/log.go:103
↓ 16 callers
Method
Get
(i int)
protocol/net/io/encoding/encoding.go:164
↓ 16 callers
Method
Read
(tgt any)
protocol/nbt/staticReader.go:320
↓ 15 callers
Method
SetBlock
This function does not update the block for the players, so it should not be used. X and Z should be relative to the chunk (aka x&0x0f, z&0x0f), but Y
server/world/chunk/chunk.go:91
↓ 15 callers
Method
readInt
()
protocol/nbt/qnbt/primitive.go:131
↓ 14 callers
Method
Position
(x, y, z *int32)
protocol/net/io/encoding/reader.go:170
↓ 14 callers
Method
String
(dst *string)
protocol/nbt/staticReader.go:156
↓ 14 callers
Method
readByte
reads a byte
protocol/nbt/staticReader.go:23
↓ 13 callers
Method
Int
(i *int32)
protocol/net/io/encoding/reader.go:76
↓ 13 callers
Method
UUID
(u *uuid.UUID)
protocol/net/io/encoding/reader.go:181
↓ 13 callers
Method
VarInt
(value int32)
protocol/net/io/encoding/writer.go:108
↓ 13 callers
Method
readString
reads a string prefixed by a short of its length
protocol/nbt/staticReader.go:55
↓ 12 callers
Method
FixedByteArray
(s []byte)
protocol/net/io/encoding/reader.go:228
↓ 11 callers
Method
Close
()
server/world/level/level.go:173
↓ 11 callers
Method
SystemMessage
(text.TextComponent)
server/command/manager.go:20
↓ 11 callers
Method
Write
(data []byte)
protocol/net/io/encoding/writer.go:24
↓ 11 callers
Method
readBytes
(l int)
protocol/net/io/encoding/reader.go:29
↓ 11 callers
Method
readInt
()
protocol/nbt/decoder.go:1053
↓ 11 callers
Method
writeLong
(l int64)
protocol/nbt/encoder.go:71
↓ 10 callers
Method
Lookup
Looks up the name in the registry and returns the protocol id. If the protocol id is not found, returns the default entry and(ok=false), and if that i
server/registry/registry.go:20
↓ 10 callers
Method
Set
(x, z, y int32)
server/world/chunk/heightmaps/heightmaps.go:32
↓ 10 callers
Method
fill
(min int)
protocol/nbt/qnbt/buffer.go:38
↓ 10 callers
Method
readString
()
protocol/nbt/decoder.go:1077
↓ 10 callers
Method
skip
(n int)
protocol/nbt/qnbt/buffer.go:60
↓ 9 callers
Method
UUID
()
server/entity/entity.go:169
↓ 9 callers
Method
Ubyte
(i uint8)
protocol/net/io/encoding/writer.go:35
↓ 9 callers
Method
readByte
()
protocol/nbt/decoder.go:1035
↓ 8 callers
Method
Decode
(encoding.Reader)
protocol/net/packet/packet.go:14
↓ 8 callers
Method
Encode
(encoding.Writer)
protocol/net/packet/packet.go:8
↓ 8 callers
Method
NBT
(v any)
protocol/net/io/encoding/reader.go:233
↓ 8 callers
Function
NewLiteral
(name string, nodes ...Node)
server/command/builder.go:80
↓ 7 callers
Method
Cap
()
util/atomic/slice.go:42
↓ 7 callers
Method
Encode
returns the name and properties of the block
server/world/chunk/section/block.go:5
↓ 7 callers
Method
Get
(id int32)
server/world/dimension/window/window.go:49
↓ 7 callers
Method
ReadPacket
()
protocol/net/conn.go:209
↓ 7 callers
Function
mallocgc
go:linkname mallocgc runtime.mallocgc
protocol/nbt/qnbt/malloc.go:10
↓ 7 callers
Function
setSliceArray
(s, a unsafe.Pointer, l int)
protocol/nbt/qnbt/abi.go:195
↓ 7 callers
Method
writeShort
(s int16)
protocol/nbt/encoder.go:55
↓ 6 callers
Method
Close
()
protocol/net/listener.go:74
↓ 6 callers
Function
Infolnf
prints the contents prefixed by a carriage return + blue info text and suffixed with a newline and "> "
util/log/log.go:246
↓ 6 callers
Method
Read
(dst []byte)
protocol/net/conn.go:188
↓ 6 callers
Method
ReadAll
(data *[]byte)
protocol/net/io/encoding/reader.go:49
↓ 6 callers
Method
Username
()
protocol/net/conn.go:66
↓ 6 callers
Method
load
(length int)
protocol/nbt/qnbt/primitive.go:76
↓ 6 callers
Method
readLong
()
protocol/nbt/decoder.go:1060
↓ 6 callers
Method
readShort
()
protocol/nbt/decoder.go:1046
↓ 5 callers
Method
BitSet
(data *BitSet)
protocol/net/io/encoding/reader.go:188
↓ 5 callers
Method
Get
Looks up the name in the registry and returns the protocol id if found, otherwise default or 0
server/registry/registry.go:13
↓ 5 callers
Method
Grow
Grow grows the slice to capacity of cap
util/atomic/slice.go:67
↓ 5 callers
Function
Infoln
prints the contents prefixed by a carriage return + time, blue info text and suffixed with a newline and "> "
util/log/log.go:214
↓ 5 callers
Method
Long
(i int64)
protocol/net/io/encoding/writer.go:66
↓ 5 callers
Method
decodeCompoundMap
(_map reflect.Value)
protocol/nbt/decoder.go:170
↓ 5 callers
Function
generateMap
(v reflect.Value)
protocol/nbt/decoder.go:19
↓ 5 callers
Method
killConnection
killConnection kills the player's connection
server/player/conn.go:111
↓ 5 callers
Method
readByte2
()
protocol/nbt/qnbt/primitive.go:94
↓ 5 callers
Method
readDouble
()
protocol/nbt/decoder.go:1072
↓ 5 callers
Method
readFloat
()
protocol/nbt/decoder.go:1067
↓ 5 callers
Method
writeBytes
(b ...byte)
protocol/nbt/encoder.go:46
↓ 4 callers
Method
Add
(b1 BlockPosition)
server/world/block/pos/pos.go:54
↓ 4 callers
Method
DimensionName
()
server/entity/entity.go:124
↓ 4 callers
Function
Errorlnf
prints the contents prefixed by a carriage return + blue info text and suffixed with a newline and "> "
util/log/log.go:276
↓ 4 callers
Method
FixedBitSet
(data *FixedBitSet, bits int32)
protocol/net/io/encoding/reader.go:206
↓ 4 callers
Method
GetChunk
(x, z int32)
server/world/dimension/dimension.go:161
↓ 4 callers
Method
ID
()
protocol/net/packet/packet.go:7
↓ 4 callers
Function
NewEncoder
(w io.Writer)
protocol/nbt/encoder.go:18
↓ 4 callers
Function
NewReader
(r io.Reader, length int)
protocol/net/io/encoding/reader.go:21
↓ 4 callers
Method
Position
()
server/entity/entity.go:153
next →
1–100 of 3,021, ranked by callers