All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.minecraft.server.ScoreboardBaseCriteria Maven / Gradle / Ivy

There is a newer version: 2.4.0
Show newest version
package net.minecraft.server;

import java.util.List;

public class ScoreboardBaseCriteria implements IScoreboardCriteria {
	
	private final String j;
	
	public ScoreboardBaseCriteria(String s) {
		this.j = s;
		IScoreboardCriteria.criteria.put(s, this);
	}
	
	public String getName() {
		return this.j;
	}
	
	public int getScoreModifier(List list) {
		return 0;
	}
	
	public boolean isReadOnly() {
		return false;
	}
	
	public EnumScoreboardHealthDisplay c() {
		return EnumScoreboardHealthDisplay.INTEGER;
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy