Interface SimpleStateProvider
- All Superinterfaces:
BlockStateProvider, Wrapper
A block state provider that always
returns the same block state.
- Since:
- 3.0.0
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic SimpleStateProviderCreates a new simple state provider.static SimpleStateProviderCreates a new simple state provider.state()The block attached to this provider.Methods inherited from interface Wrapper
asHandle, toMinecraft, unwrap
-
Method Details
-
state
-
of
Creates a new simple state provider.- Parameters:
state- the block state- Returns:
- a new simple state provider
- Since:
- 3.0.0
-
of
Creates a new simple state provider.- Parameters:
material- the material of the block- Returns:
- a new simple state provider
- Since:
- 3.0.0
-