if (Platform.isLoaded("createdieselgenerators")) {
    JEIEvents.hideItems(event => {
        event.hide("createcasing:oak_shaft")
        event.hide("createcasing:spruce_shaft")
        event.hide("createcasing:birch_shaft")
        event.hide("createcasing:jungle_shaft")
        event.hide("createcasing:acacia_shaft")
        event.hide("createcasing:dark_oak_shaft")
        event.hide("createcasing:crimson_shaft")
        event.hide("createcasing:warped_shaft")
        event.hide("createcasing:glass_shaft")
        event.hide("createcasing:brass_shaft")
        event.hide("createcasing:oak_cogwheel")
        event.hide("createcasing:spruce_cogwheel")
        event.hide("createcasing:birch_cogwheel")
        event.hide("createcasing:jungle_cogwheel")
        event.hide("createcasing:acacia_cogwheel")
        event.hide("createcasing:dark_oak_cogwheel")
        event.hide("createcasing:crimson_cogwheel")
        event.hide("createcasing:warped_cogwheel")
        event.hide("createcasing:oak_large_cogwheel")
        event.hide("createcasing:spruce_large_cogwheel")
        event.hide("createcasing:birch_large_cogwheel")
        event.hide("createcasing:jungle_large_cogwheel")
        event.hide("createcasing:acacia_large_cogwheel")
        event.hide("createcasing:dark_oak_large_cogwheel")
        event.hide("createcasing:crimson_large_cogwheel")
        event.hide("createcasing:warped_large_cogwheel")
    })
}
