/
Belyash5
/
Flu
Обзор
Документация
Войти
/
Belyash5
/
Flu
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
src/main/java/com/hbm/handler/neutron/NeutronNode.java
27 строк
628 B
BallOfEnergy
there's actually so many optimizations here that it'd be impossible for be to explain them all
05 ноя 2024, 06:34
05 ноя 2024, 06:34
970485f
Код
Авторство
О чём код?
package com.hbm.handler.neutron; import com.hbm.handler.neutron.NeutronStream.NeutronType; import com.hbm.util.fauxpointtwelve.BlockPos; import net.minecraft.tileentity.TileEntity; import java.util.HashMap; import java.util.Map; public abstract class NeutronNode { protected NeutronType type; protected BlockPos pos; protected TileEntity tile; // like NBT but less fucking CANCER // Holds things like cached RBMK lid values. protected Map<String, Object> data = new HashMap<>(); public NeutronNode(TileEntity tile, NeutronType type) { this.type = type; this.tile = tile; this.pos = new BlockPos(tile); } }