MCPcopy Create free account
hub / github.com/Hypejet/Jet / BlockState

Interface BlockState

api/src/main/java/net/hypejet/jet/world/block/BlockState.java:13–29  ·  view source on GitHub ↗

Represents a variant of a Minecraft block. @since 1.0

Source from the content-addressed store, hash-verified

11 * @since 1.0
12 */
13public interface BlockState {
14 /**
15 * Gets a {@linkplain Holder holder} of a {@linkplain BlockType block type} that this block state belongs to.
16 *
17 * @return the block type holder
18 * @since 1.0
19 */
20 @NonNull Holder<BlockType> blockType();
21
22 /**
23 * Gets a {@linkplain Map map} of properties of this block state.
24 *
25 * @return the map
26 * @since 1.0
27 */
28 @NonNull Map<String, String> properties();
29}

Callers 11

updateBlockStateMethod · 0.95
updateSkyLightLevelMethod · 0.95
updateBlockLightLevelMethod · 0.95
setBlockStateMethod · 0.95
createMethod · 0.80
withUpdatesMethod · 0.80
writeMethod · 0.80
JetBlockStateRegistryMethod · 0.80
runVirtualThreadTaskMethod · 0.80
writeMethod · 0.80

Implementers 1

JetBlockStateserver/src/main/java/net/hypejet/jet/s

Calls

no outgoing calls

Tested by

no test coverage detected