Skip to content

Instantly share code, notes, and snippets.

View Euphillya's full-sized avatar
Je veux du café et des nounours

Euphyllia Euphillya

Je veux du café et des nounours
View GitHub Profile
@Euphillya
Euphillya / Drop.sh
Created January 29, 2021 19:40 — forked from corin12355/Drop.sh
#!/bin/bash
url='https://raw.githubusercontent.com/freewil/tor-exits/master/test/Tor_ip_list_EXIT.csv'
iptables -F TOR_NODES
iptables -I TOR_NODES -j RETURN
for node in `wget -q --no-check-certificate -O - $url | sort | uniq`; do
iptables -I TOR_NODES -s $node -j DROP
done
package net.minecraft.server;
public class BlockEnderChest extends BlockChestAbstract<TileEntityEnderChest> implements IBlockWaterlogged {
public static final BlockStateDirection FACING = BlockFacingHorizontal.FACING;
public static final BlockStateBoolean c = BlockProperties.C;
protected static final VoxelShape d = Block.a(1.0D, 0.0D, 1.0D, 15.0D, 14.0D, 15.0D);
public static final ChatMessage e = new ChatMessage("container.enderchest", new Object[0]);
protected BlockEnderChest(Block.Info block_info) {
@Euphillya
Euphillya / ContainerChest.java
Created March 29, 2020 00:41
ContainerChest add function for 1 to 6 rows enderchest
package net.minecraft.server;
// CraftBukkit start
import org.bukkit.craftbukkit.inventory.CraftInventory;
import org.bukkit.craftbukkit.inventory.CraftInventoryView;
// CraftBukkit end
public class ContainerChest extends Container {
private final IInventory container;