Class Contributor

java.lang.Object
at.petrak.paucal.api.contrib.Contributor

public class Contributor extends Object
  • Constructor Details

    • Contributor

      @Internal public Contributor(UUID uuid, com.google.gson.JsonObject cfg)
  • Method Details

    • getLevel

      public int getLevel()
    • isDev

      public boolean isDev()
    • getUuid

      public UUID getUuid()
    • neededGithubSounds

      @Internal public Collection<String> neededGithubSounds()
    • doHeadpatSound

      public boolean doHeadpatSound(net.minecraft.world.phys.Vec3 patteePos, @Nullable @Nullable net.minecraft.world.entity.player.Player patter, net.minecraft.world.level.Level level)
      Logic happens clientside to the patter, the pattee gets a packet like everyone else
      Parameters:
      patter -
    • getString

      @Nullable public @Nullable String getString(String key)
    • getString

      public String getString(String key, String fallback)
    • getInt

      @Nullable public @Nullable Integer getInt(String key)
    • getInt

      public int getInt(String key, int fallback)
    • getFloat

      @Nullable public @Nullable Float getFloat(String key)
    • getFloat

      public float getFloat(String key, float fallback)
    • getBool

      @Nullable public @Nullable Boolean getBool(String key)
    • getBool

      public boolean getBool(String key, boolean fallback)
    • allKeys

      public Set<String> allKeys()
    • otherVals

      public com.google.gson.JsonObject otherVals()