I hereby claim:
- I am boq on github.
- I am boq (https://keybase.io/boq) on keybase.
- I have a public key whose fingerprint is FB55 0778 988C 4533 27B3 2F19 38E1 5674 61F7 15C3
To claim this, I am signing this object:
import java.util.Optional; | |
import net.minecraft.block.Block; | |
import net.minecraft.block.BlockContainer; | |
import net.minecraft.block.material.Material; | |
import net.minecraft.block.properties.PropertyInteger; | |
import net.minecraft.block.state.BlockStateContainer; | |
import net.minecraft.block.state.IBlockState; | |
import net.minecraft.client.Minecraft; | |
import net.minecraft.client.renderer.BufferBuilder; | |
import net.minecraft.client.renderer.texture.TextureAtlasSprite; |
at java.lang.System.exit(System.java:968) | |
at net.minecraftforge.srg2source.ast.SymbolRangeEmitter.log(SymbolRangeEmitter.java:436) | |
at net.minecraftforge.srg2source.ast.SymbolRangeEmitter.emitFieldRange(SymbolRangeEmitter.java:135) | |
at net.minecraftforge.srg2source.ast.SymbolReferenceWalker.visit(SymbolReferenceWalker.java:227) | |
at org.eclipse.jdt.core.dom.FieldDeclaration.accept0(FieldDeclaration.java:281) | |
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2711) | |
at net.minecraftforge.srg2source.ast.SymbolReferenceWalker.walk(SymbolReferenceWalker.java:87) | |
at net.minecraftforge.srg2source.ast.SymbolReferenceWalker.visit(SymbolReferenceWalker.java:438) | |
at org.eclipse.jdt.core.dom.TypeDeclaration.accept0(TypeDeclaration.java:453) | |
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2711) |
package com.example.examplemod; | |
import net.minecraft.init.Blocks; | |
import net.minecraftforge.fml.common.Mod; | |
import net.minecraftforge.fml.common.Mod.EventHandler; | |
import net.minecraftforge.fml.common.event.FMLInitializationEvent; | |
@Mod(modid = ExampleMod.MODID, version = ExampleMod.VERSION) | |
public class ExampleMod | |
{ |
len | id | name | |
---|---|---|---|
56 | netminecraftscalarreplace_foot_undermod_replacefootunder | Replace Foot Under | |
55 | netminecraftscalarlevel_the_groundmod_levelthegroundsmp | LevelTheGroundSMP | |
52 | netminecraftscalarliquid_removermod_liquidremoversmp | LiquidRemoverSMP | |
50 | minefactoryreloadedcompatmagicalcropsstandardcrops | MineFactoryReloaded Compatability: MagicalCrops (Standard) | |
50 | netminecraftscalardestructorblockmod_destructorsmp | mod_DestructorSMP | |
49 | netminecraftscalarpickupwidelymod_pickupwidelysmp | PickupWidelySMP | |
47 | planetguy_hackedupnonportabletenminuterecipefix | planetguy_HackedUpNonPortableTenMinuteRecipeFix | |
43 | boatcraftcompatibilityforestrymaterialswood | BoatCraft: Compatibility with Forestry woods | |
43 | minefactoryreloadedcompatappliedenergistics | MFR Compat: Applied Energistics |
OpenEye has very basic API for querying daily stats (collected for all reports). | |
Note: results are updated and generated in real time, even though it looks like collection of static files | |
http://openeye.openmods.info/counters/dimension/[dimension].[type] | |
> returns allowed range of queries. | |
http://openeye.openmods.info/counters/[date]/[counter].[type] | |
> queries values of counter. Results will be returned in random order. | |
http://openeye.openmods.info/counters/[date]/[counter].[sort].[type] |
package testmod; | |
import dan200.computercraft.api.lua.ILuaContext; | |
import dan200.computercraft.api.lua.LuaException; | |
import dan200.computercraft.api.peripheral.IComputerAccess; | |
import dan200.computercraft.api.peripheral.IPeripheral; | |
public class TestPeripheral implements IPeripheral { | |
@Override |
-- this program is crude and ugly sometimes ugly. But it's tutorial/demo and not good programming practices tutorial | |
local args = {...} | |
side = args[1] | |
point_num = args[2] | |
if not point_num or point_num < 1 then | |
point_num = 8 | |
end |
I hereby claim:
To claim this, I am signing this object:
while true do | |
local evt, slot, side = os.pullEvent() | |
if evt == 'slot_click' then | |
if slot ~= 5 then | |
local p = peripheral.wrap(side) | |
local item = p.getSlot(slot) | |
print(item.raw_name) | |
p.setSlot(5, item) | |
else | |
peripheral.call(side, "setSlot", 5) |
-- OpenPeripheral terminal glasses demo | |
-- by boq | |
local p = peripheral.wrap("back") | |
if p == nil then | |
print("Peripheral not found") | |
return | |
end |