mark off unnecessary iface
This commit is contained in:
1 parent
ba38080208
commit
37a6913e72
2 files changed
+3
-4
No files matched your search
@@ -6,7 +6,7 @@ import org.spongepowered.asm.mixin.gen.Accessor;
|
|||||||
|
|
||||||
@Mixin(WeightedPicker.Entry.class)
|
@Mixin(WeightedPicker.Entry.class)
|
||||||
public interface WeightedPickerEntryMixin
|
public interface WeightedPickerEntryMixin
|
||||||
{
|
{/* /// not needed in 1.17
|
||||||
@Accessor("weight")
|
@Accessor("weight")
|
||||||
int getWeight();
|
int getWeight();*/
|
||||||
}
|
}
|
||||||
@@ -1,7 +1,6 @@
|
|||||||
|
|
||||||
package carpet.utils;
|
package carpet.utils;
|
||||||
|
|
||||||
import carpet.mixins.WeightedPickerEntryMixin;
|
|
||||||
import it.unimi.dsi.fastutil.objects.Object2IntMap;
|
import it.unimi.dsi.fastutil.objects.Object2IntMap;
|
||||||
import it.unimi.dsi.fastutil.objects.Object2LongMap;
|
import it.unimi.dsi.fastutil.objects.Object2LongMap;
|
||||||
import it.unimi.dsi.fastutil.objects.Object2LongOpenHashMap;
|
import it.unimi.dsi.fastutil.objects.Object2LongOpenHashMap;
|
||||||
@@ -520,7 +519,7 @@ public class SpawnReporter
|
|||||||
|
|
||||||
String creature_name = mob.getType().getName().getString();
|
String creature_name = mob.getType().getName().getString();
|
||||||
String pack_size = String.format("%d", mob.getLimitPerChunk());//String.format("%d-%d", animal.minGroupCount, animal.maxGroupCount);
|
String pack_size = String.format("%d", mob.getLimitPerChunk());//String.format("%d-%d", animal.minGroupCount, animal.maxGroupCount);
|
||||||
int weight = ((WeightedPickerEntryMixin) spawnEntry).getWeight();
|
int weight = spawnEntry.getWeight().getValue();// ((WeightedPickerEntryMixin) spawnEntry).getWeight();
|
||||||
if (canspawn)
|
if (canspawn)
|
||||||
{
|
{
|
||||||
String c = (fits_true && will_spawn>0)?"e":"gi";
|
String c = (fits_true && will_spawn>0)?"e":"gi";
|
||||||
|
|||||||
Reference in new issue
Block a user