Class RestaurantsData.Mutable
java.lang.Object
java.util.AbstractMap<net.minecraft.core.Holder<Restaurant>,RestaurantsData.RestaurantData.Mutable>
java.util.HashMap<net.minecraft.core.Holder<Restaurant>,RestaurantsData.RestaurantData.Mutable>
petrolpark.mc.library.core.world.restaurant.RestaurantsData.Mutable
- All Implemented Interfaces:
Serializable,Cloneable,Map<net.minecraft.core.Holder<Restaurant>,RestaurantsData.RestaurantData.Mutable>
- Enclosing class:
RestaurantsData
public class RestaurantsData.Mutable
extends HashMap<net.minecraft.core.Holder<Restaurant>,RestaurantsData.RestaurantData.Mutable>
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K, V> -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.util.HashMap
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, newHashMap, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuesMethods inherited from class java.util.AbstractMap
equals, hashCode, toString
-
Constructor Details
-
Mutable
protected Mutable()
-
-
Method Details
-
getOrCreate
public RestaurantsData.RestaurantData.Mutable getOrCreate(net.minecraft.core.Holder<Restaurant> restaurant) -
toImmutable
-