This commit is contained in:
parent
808b61b9e9
commit
b188cacee1
@ -57,7 +57,7 @@ import net.minecraft.world.gen.feature.ConfiguredFeature;
|
||||
import net.minecraft.world.gen.feature.Feature;
|
||||
import net.minecraft.world.gen.feature.OreFeatureConfig;
|
||||
|
||||
public class EnergonRelics implements ModInitializer {
|
||||
public final class EnergonRelics implements ModInitializer {
|
||||
public static final String NAMESPACE = "energonrelics";
|
||||
|
||||
public static NetworkChipItem NETWORK_CHIP_ITEM;
|
||||
|
@ -3,7 +3,10 @@ package com.thebrokenrail.energonrelics.config;
|
||||
import net.minecraft.item.Item;
|
||||
import net.minecraft.item.Items;
|
||||
|
||||
public class HardcodedConfig {
|
||||
/**
|
||||
* Hardcoded Configuration Values
|
||||
*/
|
||||
public final class HardcodedConfig {
|
||||
public static final int POWER_RANGE = 64;
|
||||
|
||||
public static final int ENERGON_LIGHT_ENERGY_REQUIRED = 5;
|
||||
|
@ -20,7 +20,7 @@ import java.util.Set;
|
||||
/**
|
||||
* Infuser Registry
|
||||
*/
|
||||
public class InfuserRegistry {
|
||||
public final class InfuserRegistry {
|
||||
private static final Map<Item, InfuserEntry> map = new HashMap<>();
|
||||
|
||||
/**
|
||||
@ -41,6 +41,10 @@ public class InfuserRegistry {
|
||||
map.put(item, entry);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get Entry Set
|
||||
* @return Entry Set
|
||||
*/
|
||||
public static Set<Map.Entry<Item, InfuserEntry>> entrySet() {
|
||||
return map.entrySet();
|
||||
}
|
||||
|
@ -33,6 +33,10 @@ public final class ReactorFuelRegistry {
|
||||
return map.getOrDefault(item, 0f);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get Entry Set (Client-Only)
|
||||
* @return Entry Set
|
||||
*/
|
||||
@Environment(EnvType.CLIENT)
|
||||
public static Set<Map.Entry<Item, Float>> entrySet() {
|
||||
return map.entrySet();
|
||||
|
Reference in New Issue
Block a user