MCPcopy Create free account
hub / github.com/Teneted/Tenet / setInverted

Method setInverted

src/main/java/org/bukkit/material/Step.java:68–74  ·  view source on GitHub ↗

Set step inverted state @param inv - true if step is inverted (top half), false if step is normal (bottom half)

(boolean inv)

Source from the content-addressed store, hash-verified

66 * normal (bottom half)
67 */
68 public void setInverted(boolean inv) {
69 int dat = getData() & 0x7;
70 if (inv) {
71 dat |= 0x8;
72 }
73 setData((byte) dat);
74 }
75
76 /**
77 * {@inheritDoc}

Callers

nothing calls this directly

Calls 2

getDataMethod · 0.65
setDataMethod · 0.65

Tested by

no test coverage detected