Skip to content

Instantly share code, notes, and snippets.

require 'mediawiki/butt'
@mw = MediaWiki::Butt.new('https://ftb.gamepedia.com/api.php', query_limit_default: 'max', assertion: :bot, use_continuation: true)
@mw.login('username', 'password')
def parse(title)
params = {
action: 'parse',
page: title,
contentmodel: 'json',
## Log session started at Sun Jan 29 10:51:08 2017 ###
[10:51:08] SatanicSanta [~SatanicSa@c-76-115-175-15.hsd1.or.comcast.net] has joined #FTB-Wiki
[10:51:08] Channel topic is: The IRC channel for the official FTB Wiki - http://ftb.gamepedia.com | RC Feed @ #FTB-Wiki-recentchanges | Wiki MC: play.feed-the-beast.com:25554 and 25555
[10:51:08] Topic was set by PeterRabbit!~Peter@pool-71-126-63-82.bstnma.east.verizon.net on Tue Jul 5 12:55:32 2016
[10:51:08] MineBot [MineBot@minebot.services.esper.net] has set mode +o SatanicSanta
[10:51:27] catastrophe.esper.net [*@*] has set channel mode +Fntz
[10:51:27] Channel was created at Wed Jun 19 03:57:10 2013
[10:51:28] Channel synchronized in 19.957 seconds
[11:00:29] <+ImmortalPharaoh7> sup SatanicSanta
[11:00:47] <@SatanicSanta> hi
@elifoster
elifoster / mods.md
Created June 29, 2017 01:26
Mods that have missing tile names on their main article

Category:Mods

  • Advanced Fluxian Tools
  • Advanced Machines (AtomicStryker)
  • Advanced Machines (Chocohead)
  • Advanced Power Management
  • Advanced Satellite Upgrade
  • AE2 Tech Addon
  • AgriCraft
  • Agriculture
@elifoster
elifoster / LICENSE
Created November 6, 2023 01:50
Custom License for some of my older mods, eventually will be changed to MIT.
TERMS AND CONDITIONS
0. USED TERMS
MOD - modification, plugin, a piece of software that interfaces with the Minecraft client to extend, add, change or remove original capabilities.
MOJANG - Mojang AB
OWNER - , Original author(s) of the MOD. Under the copyright terms accepted when purchasing Minecraft (http://www.minecraft.net/copyright.jsp) the OWNER has full rights over their MOD despite use of MOJANG code.
USER - End user of the mod, person installing the mod.
1. LIABILITY
THIS MOD IS PROVIDED 'AS IS' WITH NO WARRANTIES, IMPLIED OR OTHERWISE. THE OWNER OF THIS MOD TAKES NO RESPONSIBILITY FOR ANY DAMAGES INCURRED FROM THE USE OF THIS MOD. THIS MOD ALTERS FUNDAMENTAL PARTS OF THE MINECRAFT GAME, PARTS OF MINECRAFT MAY NOT WORK WITH THIS MOD INSTALLED. ALL DAMAGES CAUSED FROM THE USE OR MISUSE OF THIS MOD FALL ON THE USER.
@elifoster
elifoster / vanilladocs.md
Last active December 19, 2023 00:53
Miscellaneous documentation of various ambiguous things in vanilla/neoforge

Block

  • hasDynamicShape - returning true causes flowing fluids to break this block. does not have anything to do with updating shape

Fluid

  • isSource(FluidState) - does not actually work on fluidstates. returns false for all flowing fluids. use FluidState#isSource() instead.

InteractionResult

  • SUCCESS is for clientside only. Use CONSUME on the server. at least for Block#use.

Level