Package net.glowstone.block.state.impl
Class WoolStateDataReader
java.lang.Object
net.glowstone.block.state.BlockStateReader<org.bukkit.material.Wool>
net.glowstone.block.state.impl.WoolStateDataReader
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
matches
(BlockStateData state, org.bukkit.material.Wool data) org.bukkit.material.Wool
read
(org.bukkit.Material material, BlockStateData data)
-
Constructor Details
-
WoolStateDataReader
public WoolStateDataReader()
-
-
Method Details
-
getValidStates
- Specified by:
getValidStates
in classBlockStateReader<org.bukkit.material.Wool>
-
read
public org.bukkit.material.Wool read(org.bukkit.Material material, BlockStateData data) throws InvalidBlockStateException - Specified by:
read
in classBlockStateReader<org.bukkit.material.Wool>
- Throws:
InvalidBlockStateException
-
matches
public boolean matches(BlockStateData state, org.bukkit.material.Wool data) throws InvalidBlockStateException - Specified by:
matches
in classBlockStateReader<org.bukkit.material.Wool>
- Throws:
InvalidBlockStateException
-