Class Pdc
java.lang.Object
io.github.sefiraat.slimetinker.compat.Pdc
Load-safe PDC facade. dough's
PersistentDataAPI class cannot load on MC 1.8 (its 1.14+
PersistentDataType references break class verification). VersionedPdc is fully
reflective (Object/String signatures) and loads on every version, persisting via PDC on 1.14+ and
item-NBT below. Mirrors the PersistentDataAPI String-keyed calls used by this addon.-
Method Summary
Modifier and TypeMethodDescriptionstatic booleangetBoolean(Object h, String k) static doublestatic doublestatic intstatic intstatic longstatic longgetOptionalString(Object h, String k) static Stringstatic Stringstatic booleanstatic booleanstatic voidstatic voidsetBoolean(Object h, String k, boolean v) static voidstatic voidstatic voidstatic void
-
Method Details
-
setString
-
getString
-
getString
-
getOptionalString
-
hasString
-
setInt
-
getInt
-
getInt
-
hasInt
-
setLong
-
getLong
-
getLong
-
setDouble
-
getDouble
-
getDouble
-
setBoolean
-
getBoolean
-
remove
-