mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-21 12:42:26 +00:00
Made some more public fields either private or final.
This commit is contained in:
1 parent
756c58d5cb
commit
75032ebf9c
32 files changed
+355
-331
No files matched your search
@@ -19,9 +19,9 @@ public class SoundEvent extends Event
|
||||
|
||||
public static class SoundSourceEvent extends SoundEvent
|
||||
{
|
||||
public final ISound sound;
|
||||
public final String uuid;
|
||||
public final String name;
|
||||
private final ISound sound;
|
||||
private final String uuid;
|
||||
private final String name;
|
||||
|
||||
public SoundSourceEvent(SoundManager manager, ISound sound, String uuid)
|
||||
{
|
||||
@@ -30,5 +30,20 @@ public class SoundEvent extends Event
|
||||
this.sound = sound;
|
||||
this.uuid = uuid;
|
||||
}
|
||||
|
||||
public ISound getSound()
|
||||
{
|
||||
return sound;
|
||||
}
|
||||
|
||||
public String getUuid()
|
||||
{
|
||||
return uuid;
|
||||
}
|
||||
|
||||
public String getName()
|
||||
{
|
||||
return name;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -749,7 +749,7 @@ public class ForgeBlockStateV1 extends Marker
|
||||
|
||||
public static class TRSRDeserializer implements JsonDeserializer<TRSRTransformation>
|
||||
{
|
||||
public static TRSRDeserializer INSTANCE = new TRSRDeserializer();
|
||||
public static final TRSRDeserializer INSTANCE = new TRSRDeserializer();
|
||||
|
||||
public TRSRTransformation deserialize(JsonElement json, Type typeOfT, JsonDeserializationContext context) throws JsonParseException
|
||||
{
|
||||
|
||||
@@ -841,8 +841,8 @@ public final class ModelLoader extends ModelBakery
|
||||
*/
|
||||
public static final class White extends TextureAtlasSprite
|
||||
{
|
||||
public static ResourceLocation LOCATION = new ResourceLocation("white");
|
||||
public static White INSTANCE = new White();
|
||||
public static final ResourceLocation LOCATION = new ResourceLocation("white");
|
||||
public static final White INSTANCE = new White();
|
||||
|
||||
private White()
|
||||
{
|
||||
|
||||
@@ -511,7 +511,7 @@ public class B3DModel
|
||||
|
||||
public static class Texture
|
||||
{
|
||||
public static Texture White = new Texture("builtin/white", 0, 0, new Vector2f(0, 0), new Vector2f(1, 1), 0);
|
||||
public static final Texture White = new Texture("builtin/white", 0, 0, new Vector2f(0, 0), new Vector2f(1, 1), 0);
|
||||
private final String path;
|
||||
private final int flags;
|
||||
private final int blend;
|
||||
|
||||
Reference in new issue
Block a user