View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002544 | Industrial-Craft² | crossmod-compatibility / submodules / API | public | 2019-05-14 17:33 | 2019-06-16 00:30 |
Reporter | CKATEPTb | Assigned To | Chocohead | ||
Priority | high | Severity | crash | Reproducibility | always |
Status | resolved | Resolution | won't fix | ||
Platform | Tablecloth 1.12.2. | OS | * | OS Version | * |
Summary | 0002544: Bukkit Events Compatibility | ||||
Description | Compatible with Tablecloth 1.12.2 server (Forge+Spigot) See additional information | ||||
Steps To Reproduce | All in additional information | ||||
Additional Information | Tablecloth can be found here - https://gitlab.com/CKATEPTb/tablecloth-1.12.2 To check Bukkit Events need to initialize the presence of an EventHelper which is in the tablecloth as default. You can do it way: public static boolean isTableclothServer = false; static { try { Class.forName("com.gamerforea.eventhelper.EventHelperMod"); isTableclothServer = true; } catch (ClassNotFoundException e) { } } To compile the mod you need an EventHelper, you can find it here - https://github.com/gamerforEA/EventHelper/releases If a high voltage is applied to the mechanism, it explodes and ignore all bukkit events, to listen BlockBreakEvent (bukkit) need add: if(isTableclothServer && EventUtils.cantBreak(EntityPlayerMP, Block)) //DONT BREAK BLOCK In the same way, you can teach to listen to several other events, for example EventUtils.cantAttack The explosion of mechanisms from stress is not the only thing that causes damage | ||||
Tags | Bukkit, Forge 2836, MC 1.12.2, PaperSpigot, Spigot | ||||
Minecraft Version | 1.12.2 | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2019-05-14 17:33 | CKATEPTb | New Issue | |
2019-05-14 17:33 | CKATEPTb | Tag Attached: Bukkit | |
2019-05-14 17:33 | CKATEPTb | Tag Attached: Forge 2836 | |
2019-05-14 17:33 | CKATEPTb | Tag Attached: MC 1.12.2 | |
2019-05-14 17:33 | CKATEPTb | Tag Attached: PaperSpigot | |
2019-05-14 17:33 | CKATEPTb | Tag Attached: Spigot | |
2019-06-16 00:30 | Chocohead | Assigned To | => Chocohead |
2019-06-16 00:30 | Chocohead | Status | new => resolved |
2019-06-16 00:30 | Chocohead | Resolution | open => won't fix |
2019-06-16 00:30 | Chocohead | Note Added: 0006029 |